@@ -2,10 +2,9 @@ import {keymap, highlightSpecialChars, drawSelection, highlightActiveLine, dropC
22 rectangularSelection , crosshairCursor ,
33 lineNumbers , highlightActiveLineGutter } from "@codemirror/view"
44import { Extension , EditorState } from "@codemirror/state"
5- import { history , historyKeymap } from "@codemirror/history"
65import { defaultHighlightStyle , syntaxHighlighting , indentOnInput , bracketMatching ,
76 foldGutter , foldKeymap } from "@codemirror/language"
8- import { defaultKeymap } from "@codemirror/commands"
7+ import { defaultKeymap , history , historyKeymap } from "@codemirror/commands"
98import { searchKeymap , highlightSelectionMatches } from "@codemirror/search"
109import { autocompletion , completionKeymap , closeBrackets , closeBracketsKeymap } from "@codemirror/autocomplete"
1110import { lintKeymap } from "@codemirror/lint"
@@ -18,21 +17,21 @@ import {lintKeymap} from "@codemirror/lint"
1817/// Specifically, it includes...
1918///
2019/// - [the default command bindings](#commands.defaultKeymap)
21- /// - [line numbers](#gutter .lineNumbers)
20+ /// - [line numbers](#view .lineNumbers)
2221/// - [special character highlighting](#view.highlightSpecialChars)
23- /// - [the undo history](#history .history)
24- /// - [a fold gutter](#fold .foldGutter)
22+ /// - [the undo history](#commands .history)
23+ /// - [a fold gutter](#language .foldGutter)
2524/// - [custom selection drawing](#view.drawSelection)
2625/// - [drop cursor](#view.dropCursor)
2726/// - [multiple selections](#state.EditorState^allowMultipleSelections)
2827/// - [reindentation on input](#language.indentOnInput)
2928/// - [the default highlight style](#language.defaultHighlightStyle) (as fallback)
30- /// - [bracket matching](#matchbrackets .bracketMatching)
31- /// - [bracket closing](#closebrackets .closeBrackets)
29+ /// - [bracket matching](#language .bracketMatching)
30+ /// - [bracket closing](#autocomplete .closeBrackets)
3231/// - [autocompletion](#autocomplete.autocompletion)
33- /// - [rectangular selection](#rectangular-selection .rectangularSelection) and [crosshair cursor](#rectangular-selection .crosshairCursor)
32+ /// - [rectangular selection](#view .rectangularSelection) and [crosshair cursor](#view .crosshairCursor)
3433/// - [active line highlighting](#view.highlightActiveLine)
35- /// - [active line gutter highlighting](#gutter .highlightActiveLineGutter)
34+ /// - [active line gutter highlighting](#view .highlightActiveLineGutter)
3635/// - [selection match highlighting](#search.highlightSelectionMatches)
3736/// - [search](#search.searchKeymap)
3837/// - [linting](#lint.lintKeymap)
0 commit comments