Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
vim
/
com.monkopedia.kodemirror.vim
/
MotionResult
Motion
Result
sealed
class
MotionResult
Result of a motion: either a single position or a pair (anchor, head).
Inheritors
SinglePos
Range
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Range
Link copied to clipboard
data
class
Range
(
val
anchor
:
LinePos
,
val
head
:
LinePos
)
:
MotionResult
Single
Pos
Link copied to clipboard
data
class
SinglePos
(
val
pos
:
LinePos
)
:
MotionResult
Functions
to
Pos
Link copied to clipboard
fun
MotionResult
?
.
toPos
(
)
:
LinePos
?