From 1f81981b3d03fb35961427232c1cb5257ebb534d Mon Sep 17 00:00:00 2001 From: Zak Date: Thu, 13 Jun 2019 12:12:52 +0300 Subject: Document TextEdit node --- doc/classes/TextEdit.xml | 49 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index 8ca553ccb8..3e4b70f8f8 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -32,7 +32,7 @@ - Add a keyword and its color. + Add a [code]keyword[/code] and its [Color]. @@ -48,21 +48,21 @@ - Clear all the syntax coloring information. + Clears all the syntax coloring information. - Clear the undo history. + Clears the undo history. - Copy the current selection. + Copy's the current text selection. @@ -87,6 +87,8 @@ + Moves the cursor at the specified [code]column[/code] index. + If [code]adjust_viewport[/code] is set to true, the viewport will center at the cursor position after the move occurs. Default value is [code]true[/code]. @@ -101,20 +103,23 @@ + Moves the cursor at the specified [code]line[/code] index. + If [code]adjust_viewport[/code] is set to true, the viewport will center at the cursor position after the move occurs. Default value is [code]true[/code]. + If [code]can_be_hidden[/code] is set to true, the specified [code]line[/code] can be hidden using [member set_line_as_hidden]. Default value is [code]true[/code]. - Cut the current selection. + Cut's the current selection. - Clears the current selection. + Deselects the current selection. @@ -146,6 +151,7 @@ + Returns the [Color] of the specified [code]keyword[/code]. @@ -210,6 +216,7 @@ + Returns a [String] text with the word under the mouse cursor location. @@ -218,6 +225,7 @@ + Returns whether the specified [code]keyword[/code] has a color set to it or not. @@ -226,7 +234,7 @@ - Insert a given text at the cursor position. + Insert the specified text at the cursor position. @@ -235,7 +243,7 @@ - Returns if the given line is folded. + Returns whether the line at the specified index is folded or not. @@ -244,6 +252,7 @@ + Returns whether the line at the specified index is hidden or not. @@ -259,6 +268,7 @@ + Triggers a right click menu action by the specified index. See [enum MenuItems] for a list of available indexes. @@ -327,6 +337,7 @@ + If [code]true[/code], hides the line of the specified index. @@ -358,6 +369,7 @@ + Unhide all lines that were previously set to hidden by [member set_line_as_hidden]. @@ -392,8 +404,10 @@ If [code]true[/code], the fold gutter is visible. This enables folding groups of indented lines. + If [code]true[/code], all lines that have been set to hidden by [member set_line_as_hidden], will not be visible. + If [code]true[/code], all occurrences of the selected text will be highlighted. If [code]true[/code], the line containing the cursor is highlighted. @@ -407,8 +421,10 @@ If [code]true[/code], line numbers are displayed to the left of the text. + 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]. @@ -439,6 +455,7 @@ + Emitted when the info icon is clicked. @@ -490,18 +507,23 @@ Undoes the previous action. + Redoes the previous action. + Represents the size of the [enum MenuItems] enum. + Sets the background [Color] of this [TextEdit]. [member syntax_highlighting] has to be enabled. + Sets the [Color] of the bookmark marker. [member syntax_highlighting] has to be enabled. + Sets the [Color] of the breakpoints. [member breakpoint_gutter] has to be enabled. @@ -528,6 +550,7 @@ + Sets the current line highlight [Color]. [member highlight_current_line] has to be enabled. @@ -538,38 +561,48 @@ + Sets the default [Font]. + Sets the font [Color]. + Sets the [Color] of the line numbers. [member show_line_numbers] has to be enabled. + Sets the spacing between the lines. + Sets the [Color] of marked text. + Sets the [StyleBox] of this [TextEdit]. + Sets the [StyleBox] of this [TextEdit] when [member read_only] is enabled. + Sets the highlight [Color] of text selections. + Sets a custom [Texture] for tab text characters. + Sets the highlight [Color] of multiple occurrences. [member highlight_all_occurrences] has to be enabled. -- cgit v1.2.3