cursor

fun cursor(pos: DocPos, assoc: Int = 0, bidiLevel: Int? = null, goalColumn: Int? = null): SelectionRange

Create a cursor selection range at the given position.