summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-05 10:28:59 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-07-05 10:58:45 +0200
commit343dcd9029d87002e7e0888913ff0caabc01a5e7 (patch)
tree4fa21ceab8a81218ee3b7d2fa4d499709c00b7ee /doc
parentf104fab83da30e5f686d9960c0a237ade7ac1eb3 (diff)
doc: Sync classref with current source
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorSettings.xml4
-rw-r--r--doc/classes/String.xml14
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml
index 3719ad67de..83e3729391 100644
--- a/doc/classes/EditorSettings.xml
+++ b/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>
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 2b16bd2b33..1934c5af9a 100644
--- a/doc/classes/String.xml
+++ b/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>