From 7aad14a4b6d7ef722851a8c4f9fcafa5b48666b3 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 30 Aug 2022 11:56:17 +0300 Subject: [TextServer] Add support for trimming edge spaces on line break. --- doc/classes/TextServer.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/classes') 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. + 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. + + + Remove edge spaces from the broken line segments. 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. -- cgit v1.2.3