KodeMirror

fun KodeMirror(session: EditorSession, modifier: Modifier = Modifier)

The main editor composable.

Wires up the EditorSession with plugin hosting, layout caching, and input handling, then renders the editor content.

Parameters

session

The EditorSession to display.

modifier

Modifier applied to the outermost container.