Skip to content

Commit

Permalink
Adjust internal doc links to new package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Apr 16, 2022
1 parent 283e71e commit baf7252
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"dependencies": {
"@codemirror/autocomplete": "^0.19.0",
"@codemirror/commands": "^0.19.0",
"@codemirror/history": "^0.19.0",
"@codemirror/language": "^0.19.0",
"@codemirror/lint": "^0.19.0",
"@codemirror/search": "^0.19.0",
Expand Down
17 changes: 8 additions & 9 deletions src/basic-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import {keymap, highlightSpecialChars, drawSelection, highlightActiveLine, dropC
rectangularSelection, crosshairCursor,
lineNumbers, highlightActiveLineGutter} from "@codemirror/view"
import {Extension, EditorState} from "@codemirror/state"
import {history, historyKeymap} from "@codemirror/history"
import {defaultHighlightStyle, syntaxHighlighting, indentOnInput, bracketMatching,
foldGutter, foldKeymap} from "@codemirror/language"
import {defaultKeymap} from "@codemirror/commands"
import {defaultKeymap, history, historyKeymap} from "@codemirror/commands"
import {searchKeymap, highlightSelectionMatches} from "@codemirror/search"
import {autocompletion, completionKeymap, closeBrackets, closeBracketsKeymap} from "@codemirror/autocomplete"
import {lintKeymap} from "@codemirror/lint"
Expand All @@ -18,21 +17,21 @@ import {lintKeymap} from "@codemirror/lint"
/// Specifically, it includes...
///
/// - [the default command bindings](#commands.defaultKeymap)
/// - [line numbers](#gutter.lineNumbers)
/// - [line numbers](#view.lineNumbers)
/// - [special character highlighting](#view.highlightSpecialChars)
/// - [the undo history](#history.history)
/// - [a fold gutter](#fold.foldGutter)
/// - [the undo history](#commands.history)
/// - [a fold gutter](#language.foldGutter)
/// - [custom selection drawing](#view.drawSelection)
/// - [drop cursor](#view.dropCursor)
/// - [multiple selections](#state.EditorState^allowMultipleSelections)
/// - [reindentation on input](#language.indentOnInput)
/// - [the default highlight style](#language.defaultHighlightStyle) (as fallback)
/// - [bracket matching](#matchbrackets.bracketMatching)
/// - [bracket closing](#closebrackets.closeBrackets)
/// - [bracket matching](#language.bracketMatching)
/// - [bracket closing](#autocomplete.closeBrackets)
/// - [autocompletion](#autocomplete.autocompletion)
/// - [rectangular selection](#rectangular-selection.rectangularSelection) and [crosshair cursor](#rectangular-selection.crosshairCursor)
/// - [rectangular selection](#view.rectangularSelection) and [crosshair cursor](#view.crosshairCursor)
/// - [active line highlighting](#view.highlightActiveLine)
/// - [active line gutter highlighting](#gutter.highlightActiveLineGutter)
/// - [active line gutter highlighting](#view.highlightActiveLineGutter)
/// - [selection match highlighting](#search.highlightSelectionMatches)
/// - [search](#search.searchKeymap)
/// - [linting](#lint.lintKeymap)
Expand Down

0 comments on commit baf7252

Please sign in to comment.