TextLayouter.getText

Calls your delegate for each segment of the text, guaranteeing you will be called exactly once for each non-nil char in the string and each slice will have exactly one style. A segment may be as small as a single char.

FIXME: have a getTextInSelection

FIXME: have some kind of index stuff so you can select some text found in here (think regex search)

class TextLayouter
void
getText
(
scope void delegate
(
scope const(char)[] segment
,)
handler
)

Meta