LineLayout
data class LineLayout(val lineNumber: Int, val lineFrom: Int, val topPx: Float, val leftPx: Float, val result: TextLayoutResult)
Cached layout result for a single document line.
Parameters
lineNumber
1-based line number.
lineFrom
Document offset of the first character of this line.
topPx
Y coordinate of the top of this line in the editor.
result
Compose text-layout result for measuring cursor positions.