Enum SwiftTextLines.WrapOption
Selects an option how to wrap lines that exceed a desired maximum line length.
public enum SwiftTextLines.WrapOption
Fields
Hard = 0Lines longer than the maximum line length are broken exactly at that length.
SwiftField = 2Lines longer than the maximum line length are broken at exactly the max line length, however, care is taken that a new line does not start with the special swift field characters ':' or '-', which are not allowed at the beginning of a line.
WordWrap = 1Lines longer than the maximum line length shall use word wrapping. Meaning, the are broken at the last space character within the maximum line length.