diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-20 11:02:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 11:02:13 +0200 |
commit | 6272acd46563ddf931e977ef55048d3f5427c517 (patch) | |
tree | 080ee2c730be996aad7cd7982564c69d2671cc97 | |
parent | 495b28765d03aa9459bc312ebba190ec208979e7 (diff) | |
parent | 6a0e6c285202216847ad2b25d5068f4a9031459f (diff) |
Merge pull request #38027 from dreamsComeTrue/override_selected_font_color-docs
Update TextEdit docs - explaining 'override_selected_font_color' role
-rw-r--r-- | doc/classes/TextEdit.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index b515b27b31..b7cf93d672 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -433,6 +433,7 @@ </member> <member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" override="true" enum="Control.CursorShape" default="1" /> <member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color" default="false"> + If [code]true[/code], custom [code]font_color_selected[/code] will be used for selected text. </member> <member name="readonly" type="bool" setter="set_readonly" getter="is_readonly" default="false"> If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added. @@ -611,6 +612,7 @@ <theme_item name="font_color_readonly" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )"> </theme_item> <theme_item name="font_color_selected" type="Color" default="Color( 0, 0, 0, 1 )"> + Sets the [Color] of the selected text. [member override_selected_font_color] has to be enabled. </theme_item> <theme_item name="function_color" type="Color" default="Color( 0.4, 0.64, 0.81, 1 )"> </theme_item> |