Merge pull request #112575 from Cykyrios/string-placeholder-highlight
Add string placeholder syntax highlighting
This commit is contained in:
@ -1646,6 +1646,10 @@
|
||||
<member name="text_editor/theme/highlighting/string_color" type="Color" setter="" getter="">
|
||||
The script editor's color for strings (single-line and multi-line).
|
||||
</member>
|
||||
<member name="text_editor/theme/highlighting/string_placeholder_color" type="Color" setter="" getter="">
|
||||
The script editor's color for string placeholders, such as [code]%s[/code] and [code]{_}[/code]. Refer to the [url=$DOCS_URL/tutorials/scripting/gdscript/gdscript_format_string.html]GDScript format strings documentation[/url] for more details.
|
||||
[b]Note:[/b] Only the default [code]{_}[/code] placeholder patterns are highlighted for the [method String.format] method. Custom patterns still appear as plain strings.
|
||||
</member>
|
||||
<member name="text_editor/theme/highlighting/symbol_color" type="Color" setter="" getter="">
|
||||
The script editor's color for operators ([code]( ) [ ] { } + - * /[/code], ...).
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user