linesplitting
Linesplitting is the process of dividing a block of text into separate lines. In computing, it typically refers to two related behaviors: hard line splitting, where explicit line breaks are inserted into the text, and soft wrapping, where a text renderer automatically breaks lines to fit a display width without inserting characters.
Hard line breaks are encoded with line terminators such as LF (line feed, U+000A), CR (carriage return,
Line-splitting techniques vary by goal. Simple greedy wrapping chooses the last break point before a given
Contexts and implications. In word processing and typesetting, line splitting interacts with justification, spacing, and hyphenation
See also: word wrap, line breaking, hyphenation, Knuth–Plass algorithm, Unicode line breaking.