Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
language
/
com.monkopedia.kodemirror.language
/
StreamParser
/
indent
indent
open
fun
indent
(
state
:
State
,
textAfter
:
String
,
context
:
IndentContext
)
:
Int
?
Compute automatic indentation for the line that starts with the given state and text.