copyText

fun copyText(start: Int, endInclusive: Int): String(source)

The text of the inclusive flattened range as a reader copies it. Blocks are separated by \n\n, and the lines of one block join as their KiteTextLine.end says: a paragraph the layout wrapped copies as one line, a word it hyphenated copies whole, and a break the text holds stays \n. Lines that end KiteLineEnd.HARD, as every fixed-layout line does, copy as textRange gives them.