diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-01 08:16:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 08:16:52 +0200 |
commit | 89f0886425eba7b3590cef0b48b1fdc55d63e2a6 (patch) | |
tree | 979bb9acfc0d2ca7175549e65e27fa7f8437c594 /doc | |
parent | e67c967cbcc4bc0ab20d4ae77d47d2812c6242e8 (diff) | |
parent | 7aad14a4b6d7ef722851a8c4f9fcafa5b48666b3 (diff) |
Merge pull request #65073 from bruvzg/trim_spaces
[TextServer] Add support for trimming edge spaces on line break.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TextServer.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/TextServer.xml b/doc/classes/TextServer.xml index aad83211f5..1aec6d2c0e 100644 --- a/doc/classes/TextServer.xml +++ b/doc/classes/TextServer.xml @@ -1624,6 +1624,10 @@ Break the line between any unconnected graphemes. </constant> <constant name="BREAK_ADAPTIVE" value="8" enum="LineBreakFlag" is_bitfield="true"> + Should be used only in conjunction with [constant BREAK_WORD_BOUND], break the line between any unconnected graphemes, if it's impossible to break it between the words. + </constant> + <constant name="BREAK_TRIM_EDGE_SPACES" value="16" enum="LineBreakFlag" is_bitfield="true"> + Remove edge spaces from the broken line segments. </constant> <constant name="VC_CHARS_BEFORE_SHAPING" value="0" enum="VisibleCharactersBehavior"> Trims text before the shaping. e.g, increasing [member Label.visible_characters] or [member RichTextLabel.visible_characters] value is visually identical to typing the text. |