Selection

data class Selection(val start: Int, val end: Int, val position: Int)

Class the descriptions the position of the text cursor.

Constructors

Link copied to clipboard
constructor(start: Int, end: Int, position: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val end: Int

the end of the cursor in the paragraph

Link copied to clipboard

the position of the paragraph (which line the cursor is)

Link copied to clipboard
val start: Int

the start of the cursor in the paragraph

Functions

Link copied to clipboard
fun key(): Int