Typeface.lineSplitter

Updated version of std.string.lineSplitter that includes trailing empty lines.

lineSplitterIndex will produce a tuple with the index into the original text as the first element.

interface Typeface
static
lineSplitter
(
KeepTerminator keepTerm = No.keepTerminator
Range
)
(
Range text
)
if (
isSomeChar!(ElementType!Range)
)

Meta