Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
state
/
com.monkopedia.kodemirror.state
/
TransactionSpecBuilder
/
selection
selection
fun
selection
(
cursor
:
DocPos
)
Set the cursor position.
fun
selection
(
anchor
:
DocPos
,
head
:
DocPos
)
Set a selection range.
fun
selection
(
selection
:
EditorSelection
)
Set the selection from an
EditorSelection
.