Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
view
/
com.monkopedia.kodemirror.view
/
EditorSession
/
posAtCoords
pos
At
Coords
abstract
fun
posAtCoords
(
x
:
Float
,
y
:
Float
)
:
Int
?
Get the document position for on-screen coordinates. Returns null when outside the editor.