Skip to content

Commit 02a82d9

Browse files
Merge branch 'main' into Migrate-Vector3-to-vector
2 parents 53a70d5 + cb04623 commit 02a82d9

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

content/en-us/reference/engine/enums/TextTruncate.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,32 @@ items:
1717
- name: AtEnd
1818
summary: |
1919
Text is truncated at the end of the text; extra graphemes that cannot fit
20-
into the space are replaced with `...`.
20+
into the space are replaced with `...`. Word boundaries are respected if
21+
possible.
22+
23+
For example, if the control is between -> and <- like so:
24+
25+
`->Long text is truncated at the en<-d of the last complete word`
26+
27+
The text will be:
28+
29+
`Long text is truncated at the...`
2130
value: 1
2231
tags: []
2332
deprecation_message: ''
2433
- name: SplitWord
25-
summary: ''
34+
summary: |
35+
If the end of the line occurs in the middle of a word, the text is
36+
truncated inside of that word. Extra graphemes that cannot fit into the
37+
space are replaced with `...`.
38+
39+
For example, if the control is between -> and <- like so:
40+
41+
`->Long text is truncated at the en<-d of the last complete word`
42+
43+
The text will be:
44+
45+
`Long text is truncated at the en...`
2646
value: 2
2747
tags: []
2848
deprecation_message: ''

0 commit comments

Comments
 (0)