@codemirror/basic-setup
Advanced tools
Comparing version 0.19.1 to 0.19.2
@@ -0,1 +1,7 @@ | ||
## 0.19.2 (2022-03-30) | ||
### New features | ||
Add the extension that shows a crosshair cursor when Alt is held down to the basic setup. | ||
## 0.19.1 (2021-12-13) | ||
@@ -2,0 +8,0 @@ |
@@ -22,3 +22,3 @@ import { Extension } from '@codemirror/state'; | ||
- [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput) | ||
- [the default highlight style](https://codemirror.net/6/docs/ref/#highlight.defaultHighlightStyle) (as fallback) | ||
- [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback) | ||
- [bracket matching](https://codemirror.net/6/docs/ref/#matchbrackets.bracketMatching) | ||
@@ -25,0 +25,0 @@ - [bracket closing](https://codemirror.net/6/docs/ref/#closebrackets.closeBrackets) |
@@ -7,3 +7,3 @@ import { highlightSpecialChars, drawSelection, dropCursor, highlightActiveLine, keymap } from '@codemirror/view'; | ||
import { foldGutter, foldKeymap } from '@codemirror/fold'; | ||
import { indentOnInput } from '@codemirror/language'; | ||
import { indentOnInput, syntaxHighlighting, defaultHighlightStyle } from '@codemirror/language'; | ||
import { lineNumbers, highlightActiveLineGutter } from '@codemirror/gutter'; | ||
@@ -16,4 +16,3 @@ import { defaultKeymap } from '@codemirror/commands'; | ||
import { commentKeymap } from '@codemirror/comment'; | ||
import { rectangularSelection } from '@codemirror/rectangular-selection'; | ||
import { defaultHighlightStyle } from '@codemirror/highlight'; | ||
import { rectangularSelection, crosshairCursor } from '@codemirror/rectangular-selection'; | ||
import { lintKeymap } from '@codemirror/lint'; | ||
@@ -38,3 +37,3 @@ | ||
- [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput) | ||
- [the default highlight style](https://codemirror.net/6/docs/ref/#highlight.defaultHighlightStyle) (as fallback) | ||
- [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback) | ||
- [bracket matching](https://codemirror.net/6/docs/ref/#matchbrackets.bracketMatching) | ||
@@ -70,3 +69,3 @@ - [bracket closing](https://codemirror.net/6/docs/ref/#closebrackets.closeBrackets) | ||
/*@__PURE__*/indentOnInput(), | ||
defaultHighlightStyle.fallback, | ||
/*@__PURE__*/syntaxHighlighting(defaultHighlightStyle, { fallback: true }), | ||
/*@__PURE__*/bracketMatching(), | ||
@@ -76,2 +75,3 @@ /*@__PURE__*/closeBrackets(), | ||
/*@__PURE__*/rectangularSelection(), | ||
/*@__PURE__*/crosshairCursor(), | ||
/*@__PURE__*/highlightActiveLine(), | ||
@@ -78,0 +78,0 @@ /*@__PURE__*/highlightSelectionMatches(), |
{ | ||
"name": "@codemirror/basic-setup", | ||
"version": "0.19.1", | ||
"version": "0.19.2", | ||
"description": "Example configuration for the CodeMirror code editor", | ||
@@ -35,3 +35,2 @@ "scripts": { | ||
"@codemirror/gutter": "^0.19.0", | ||
"@codemirror/highlight": "^0.19.0", | ||
"@codemirror/history": "^0.19.0", | ||
@@ -38,0 +37,0 @@ "@codemirror/language": "^0.19.0", |
Sorry, the diff of this file is not supported yet
16278
14
- Removed@codemirror/highlight@^0.19.0
- Removed@codemirror/highlight@0.19.8(transitive)