extent

fun LineCursor.extent(lineCount: Int = 1, end: BlockEnd = BlockEnd.BEFORE_TERMINATOR): BlockExtent

Resolves an extent of a known amount of lines.

Return

the resolved extent

Parameters

lineCount

amount of lines consumed, before any empty lines end absorbs

end

where the block's text ends relative to its last line