Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
commands
/
com.monkopedia.kodemirror.commands
/
splitLine
split
Line
val
splitLine
:
(
EditorSession
)
->
Boolean
Insert a newline, but keep the cursor before it (splits the line without moving cursor down).