diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-30 11:56:17 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-09-01 08:11:55 +0300 |
commit | 7aad14a4b6d7ef722851a8c4f9fcafa5b48666b3 (patch) | |
tree | 604c8c544701b5c5bf2eab55b9b3c62b952e9711 /doc/classes | |
parent | 1c037c89d4345789c17dfa19bf1e8bd67f702f09 (diff) |
[TextServer] Add support for trimming edge spaces on line break.
Diffstat (limited to 'doc/classes')
-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. |