Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit baf7252

Browse files
committed
Adjust internal doc links to new package structure
1 parent 283e71e commit baf7252

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"dependencies": {
2929
"@codemirror/autocomplete": "^0.19.0",
3030
"@codemirror/commands": "^0.19.0",
31-
"@codemirror/history": "^0.19.0",
3231
"@codemirror/language": "^0.19.0",
3332
"@codemirror/lint": "^0.19.0",
3433
"@codemirror/search": "^0.19.0",

src/basic-setup.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ import {keymap, highlightSpecialChars, drawSelection, highlightActiveLine, dropC
22
rectangularSelection, crosshairCursor,
33
lineNumbers, highlightActiveLineGutter} from "@codemirror/view"
44
import {Extension, EditorState} from "@codemirror/state"
5-
import {history, historyKeymap} from "@codemirror/history"
65
import {defaultHighlightStyle, syntaxHighlighting, indentOnInput, bracketMatching,
76
foldGutter, foldKeymap} from "@codemirror/language"
8-
import {defaultKeymap} from "@codemirror/commands"
7+
import {defaultKeymap, history, historyKeymap} from "@codemirror/commands"
98
import {searchKeymap, highlightSelectionMatches} from "@codemirror/search"
109
import {autocompletion, completionKeymap, closeBrackets, closeBracketsKeymap} from "@codemirror/autocomplete"
1110
import {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

Comments
 (0)