syntaxTreeAvailable

fun syntaxTreeAvailable(state: EditorState, upto: Int = state.doc.length): Boolean

Check whether a complete syntax tree is available up to the given position.

Parameters

upto

The position to check coverage for. Defaults to the full document length.