diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 83e3729391a..5395a8fcb03 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -182,7 +182,7 @@ - Emitted when editor settings change. It used by various editor plugins to update their visuals on theme changes or logic on configuration changes. + Emitted when editor settings change. It used by various editor plugins to update their visuals on theme changes or logic on configuration changes. diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 15d796be544..e513a44b1d4 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -385,7 +385,10 @@ - Converts a string containing a hexadecimal number into an integer. + Converts a string containing a hexadecimal number into an integer. Hexadecimal strings are expected to be prefixed with "[code]0x[/code]" otherwise [code]0[/code] is returned. + [codeblock] + print("0xff".hex_to_int()) # Print "255" + [/codeblock] diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index 772d20a92e6..5d5a62456f1 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -141,13 +141,6 @@ Returns [code]true[/code] if the size override is enabled. See [method set_size_override]. - - - - - Returns [code]true[/code] if the size stretch override is enabled. See [method set_size_override_stretch]. - - @@ -175,15 +168,6 @@ Sets the size override of the viewport. If the [code]enable[/code] parameter is [code]true[/code] the override is used, otherwise it uses the default size. If the size parameter is [code](-1, -1)[/code], it won't update the size. - - - - - - - If [code]true[/code], the size override affects stretch as well. - -