Merge pull request #110408 from bruvzg/el_trim_w

[TextServer] Use a separate flag to disable min. string length for adding ellipsis.
This commit is contained in:
Thaddeus Crews 2025-11-21 14:46:49 -06:00
commit 47d6ce2917
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
5 changed files with 31 additions and 24 deletions

View file

@ -2143,6 +2143,9 @@
<constant name="OVERRUN_JUSTIFICATION_AWARE" value="16" enum="TextOverrunFlag" is_bitfield="true">
Accounts for the text being justified before attempting to trim it (see [enum JustificationFlag]).
</constant>
<constant name="OVERRUN_SHORT_STRING_ELLIPSIS" value="32" enum="TextOverrunFlag" is_bitfield="true">
Determines whether the ellipsis should be added regardless of the string length, otherwise it is added only if the string is 6 characters or longer.
</constant>
<constant name="GRAPHEME_IS_VALID" value="1" enum="GraphemeFlag" is_bitfield="true">
Grapheme is supported by the font, and can be drawn.
</constant>