From b79aa897963b2686b1472dcf336bbd0c3f956db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 15 Jul 2020 08:43:21 +0200 Subject: [PATCH] doc: Sync classref with current source --- doc/classes/CodeHighlighter.xml | 145 ++++++++++++++++++++++++ doc/classes/CollisionObject2D.xml | 2 +- doc/classes/EditorSyntaxHighlighter.xml | 31 +++++ doc/classes/ScriptEditor.xml | 28 +++++ doc/classes/ScriptEditorBase.xml | 67 +++++++++++ doc/classes/SyntaxHighlighter.xml | 53 +++++++++ doc/classes/TextEdit.xml | 68 ++--------- 7 files changed, 332 insertions(+), 62 deletions(-) create mode 100644 doc/classes/CodeHighlighter.xml create mode 100644 doc/classes/EditorSyntaxHighlighter.xml create mode 100644 doc/classes/ScriptEditorBase.xml create mode 100644 doc/classes/SyntaxHighlighter.xml diff --git a/doc/classes/CodeHighlighter.xml b/doc/classes/CodeHighlighter.xml new file mode 100644 index 00000000000..7a1dad547bf --- /dev/null +++ b/doc/classes/CodeHighlighter.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml index c2dd48108f0..bf82e921fb6 100644 --- a/doc/classes/CollisionObject2D.xml +++ b/doc/classes/CollisionObject2D.xml @@ -216,7 +216,7 @@ - + If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events. diff --git a/doc/classes/EditorSyntaxHighlighter.xml b/doc/classes/EditorSyntaxHighlighter.xml new file mode 100644 index 00000000000..103d95e1d60 --- /dev/null +++ b/doc/classes/EditorSyntaxHighlighter.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/ScriptEditor.xml b/doc/classes/ScriptEditor.xml index f0ad781f775..20b07504317 100644 --- a/doc/classes/ScriptEditor.xml +++ b/doc/classes/ScriptEditor.xml @@ -33,6 +33,12 @@ + + + + + + @@ -50,6 +56,12 @@ + + + + + + @@ -76,6 +88,22 @@ + + + + + + + + + + + + + + + + diff --git a/doc/classes/ScriptEditorBase.xml b/doc/classes/ScriptEditorBase.xml new file mode 100644 index 00000000000..9968ae06c3a --- /dev/null +++ b/doc/classes/ScriptEditorBase.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/SyntaxHighlighter.xml b/doc/classes/SyntaxHighlighter.xml new file mode 100644 index 00000000000..2d6e3de02aa --- /dev/null +++ b/doc/classes/SyntaxHighlighter.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index b7b4278da0a..b7240655afd 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -9,32 +9,6 @@ - - - - - - - - - - - - - Adds color region (given the delimiters) and its colors. - - - - - - - - - - - Adds a [code]keyword[/code] and its [Color]. - - @@ -51,13 +25,6 @@ Centers the viewport on the line the editing cursor is at. This also resets the [member scroll_horizontal] value to [code]0[/code]. - - - - - Clears all custom syntax coloring information previously added with [method add_color_region] or [method add_keyword_color]. - - @@ -152,15 +119,6 @@ Returns an array containing the line number of each breakpoint. - - - - - - - Returns the [Color] of the specified [code]keyword[/code]. - - @@ -226,15 +184,6 @@ Returns a [String] text with the word under the mouse cursor location. - - - - - - - Returns whether the specified [code]keyword[/code] has a color set to it or not. - - @@ -473,8 +422,7 @@ If [code]true[/code], sets the [code]step[/code] of the scrollbars to [code]0.25[/code] which results in smoother scrolling. - - If [code]true[/code], any custom color properties that have been set for this [TextEdit] will be visible. + String value of the [TextEdit]. @@ -508,6 +456,12 @@ Emitted when the info icon is clicked. + + + + + + @@ -627,8 +581,6 @@ Sets the [Color] of the selected text. [member override_selected_font_color] has to be enabled. - - Sets the [Color] of the line numbers. [member show_line_numbers] has to be enabled. @@ -638,13 +590,9 @@ Sets the [Color] of marked text. - - Sets the [StyleBox] of this [TextEdit]. - - Sets the [StyleBox] of this [TextEdit] when [member readonly] is enabled. @@ -655,8 +603,6 @@ - - Sets a custom [Texture2D] for tab text characters.