in src/lib/CodeMirror/indentationMarkers.ts [40:43]
export function getCurrentLine(state: EditorState): Line { const currentPos = state.selection.main.head; return state.doc.lineAt(currentPos); }