diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-09 23:21:54 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-09 23:21:54 +0200 |
| commit | 71a8ac41fbea5bb97c25d66e17c06e8dfff4ebf1 (patch) | |
| tree | 8cff3a7f5b0251620f3fe16804d0a7f8138452cf /doc | |
| parent | 42425baa59956dc9d1e22341fe5e5d7f8fad5067 (diff) | |
| parent | de7cbe87894cc9eaea1f3057fff7fe98f66aad25 (diff) | |
| download | redot-engine-71a8ac41fbea5bb97c25d66e17c06e8dfff4ebf1.tar.gz | |
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/classes/EditorSettings.xml | 3 | ||||
| -rw-r--r-- | doc/classes/ScriptLanguageExtension.xml | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 5a0cb9fc5e..00b591b385 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -953,6 +953,9 @@ <member name="text_editor/theme/highlighting/current_line_color" type="Color" setter="" getter=""> The script editor's background color for the line the caret is currently on. This should be set to a translucent color so that it can display on top of other line color modifiers such as [member text_editor/theme/highlighting/mark_color]. </member> + <member name="text_editor/theme/highlighting/doc_comment_color" type="Color" setter="" getter=""> + The script editor's documentation comment color. In GDScript, this is used for comments starting with [code]##[/code]. In C#, this is used for comments starting with [code]///[/code] or [code]/**[/code]. + </member> <member name="text_editor/theme/highlighting/engine_type_color" type="Color" setter="" getter=""> The script editor's engine type color ([Vector2], [Vector3], [Color], ...). </member> diff --git a/doc/classes/ScriptLanguageExtension.xml b/doc/classes/ScriptLanguageExtension.xml index e10cb89e20..1a61618b53 100644 --- a/doc/classes/ScriptLanguageExtension.xml +++ b/doc/classes/ScriptLanguageExtension.xml @@ -140,6 +140,11 @@ <description> </description> </method> + <method name="_get_doc_comment_delimiters" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + </description> + </method> <method name="_get_extension" qualifiers="virtual const"> <return type="String" /> <description> |
