Selection.getContent

Function to get the content of the selection. It is fed to you as a series of zero or more chunks of text and style information.

Please note that some text blocks may be empty, indicating only style has changed.

struct Selection
void
getContent
(
scope void delegate
(
scope const(char)[] text
,)
dg
)

See Also

Meta