[RTL] Parse "\r\n" as a single paragraph break, add some documentation notes.

This commit is contained in:
Pāvels Nadtočajevs
2024-11-25 11:05:23 +02:00
parent d741a646a5
commit 2210dd1126
3 changed files with 30 additions and 24 deletions

View File

@@ -1914,6 +1914,7 @@
</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.
[b]Note:[/b] In this mode, trimmed text is not processed at all. It is not accounted for in line breaking and size calculations.
</constant>
<constant name="VC_CHARS_AFTER_SHAPING" value="1" enum="VisibleCharactersBehavior">
Displays glyphs that are mapped to the first [member Label.visible_characters] or [member RichTextLabel.visible_characters] characters from the beginning of the text.