Browse Source

doc: Sync classref with current source

Rémi Verschelde 6 years ago
parent
commit
343dcd9029
2 changed files with 18 additions and 0 deletions
  1. 4 0
      doc/classes/EditorSettings.xml
  2. 14 0
      doc/classes/String.xml

+ 4 - 0
doc/classes/EditorSettings.xml

@@ -176,9 +176,13 @@
 	<signals>
 		<signal name="settings_changed">
 			<description>
+				Emitted when editor settings change.
 			</description>
 		</signal>
 	</signals>
 	<constants>
+		<constant name="NOTIFICATION_EDITOR_SETTINGS_CHANGED" value="10000">
+				Emitted when editor settings change. It used by various editor plugins to update their visuals on theme changes or logic on configuration changes.
+		</constant>
 	</constants>
 </class>

+ 14 - 0
doc/classes/String.xml

@@ -696,6 +696,20 @@
 				Returns a copy of the string with characters removed from the right.
 			</description>
 		</method>
+		<method name="sha1_buffer">
+			<return type="PoolByteArray">
+			</return>
+			<description>
+				Returns the SHA-1 hash of the string as an array of bytes.
+			</description>
+		</method>
+		<method name="sha1_text">
+			<return type="String">
+			</return>
+			<description>
+				Returns the SHA-1 hash of the string as a string.
+			</description>
+		</method>
 		<method name="sha256_buffer">
 			<return type="PoolByteArray">
 			</return>