Given a NSTextContentStorage with a single character \n (newline), a layout manager results in 2 line fragments.
Two things to discuss here:
- The range of a second TextLineFragment is {1, 0}, that is 0 length range, yet the textLineFragment.attributedString.string value is "\n"
- Why two lines at all? I expected a single line. this seems to be a case only if \n is at the end of the storage string. The string "\n\n\n" results in 3 fragments, and 4 lines.