1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Merge pull request #113512 from adamscott/PROPERTY_HINT_MULTILINE_TEXT_monospace-hint

Add new monospace related hint strings
This commit is contained in:
Thaddeus Crews
2025-12-03 21:01:58 -06:00
12 changed files with 160 additions and 50 deletions

View File

@@ -2837,6 +2837,8 @@
</constant>
<constant name="PROPERTY_HINT_MULTILINE_TEXT" value="18" enum="PropertyHint">
Hints that a [String] property is text with line breaks. Editing it will show a text input field where line breaks can be typed.
The hint string can be set to [code]"monospace"[/code] to force the input field to use a monospaced font.
If the hint string [code]"no_wrap"[/code] is set, the input field will not wrap lines at boundaries, instead resorting to making the area scrollable.
</constant>
<constant name="PROPERTY_HINT_EXPRESSION" value="19" enum="PropertyHint">
Hints that a [String] property is an [Expression].