getIndentation
fun getIndentation(state: EditorState, pos: DocPos, simulateBreak: DocPos? = null, simulateDoubleBreak: Boolean = false): Int?
Query the indentation for a position using registered indent services and tree-based indentation strategies.
Returns the desired indentation in columns, or null if no service or strategy provides an answer.