Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
state
/
com.monkopedia.kodemirror.state
/
EditorState
/
sliceDoc
slice
Doc
fun
sliceDoc
(
from
:
DocPos
=
DocPos.ZERO
,
to
:
DocPos
=
doc.endPos
)
:
String
Return the given range of the document as a string.