Line Breaks in Multi-Line Variables
Each line space is determined by the starting variable. Text can be wrapped at line break characters.
- Hyphen
- Space
- Tab
- Carriage return (either a new line, or "/n")
If there are no line break characters in the variable, the text is truncated to fit each line - wrapped to fit the space outlined by the starting and ending variable codes. Hyphens are added at the end of each wrapped line.
Conditions When Words Are Split for a Line Break
The word (or portion of a hyphenated or split word) is longer than the width of the text box. A word is defined as a string of non-space characters between a Space
U+0020, a Tab
0x0009, a Line Feed
0x000A, or an Ideographic Space
U+3000. The word will be split so the maximum amount with a trailing hyphen fits within the width of the box.
The word contains a non-leading or non-trailing hyphen
U+002D. The word will be split at the hyphen. The following are also recognized as hyphens for text boxes:
-
U+2010- hyphen U+2012- figure dashU+2013- en dashU+2014- em dashU+2212- minus
Related concepts