@codemirror/matchbrackets
Advanced tools
Comparing version 0.19.3 to 0.19.4
@@ -0,1 +1,7 @@ | ||
## 0.19.4 (2022-02-09) | ||
### Bug fixes | ||
The matching bracket styles no longer show up when the editor isn't focused. | ||
## 0.19.3 (2021-09-28) | ||
@@ -2,0 +8,0 @@ |
@@ -7,4 +7,4 @@ import { Facet, combineConfig, StateField } from '@codemirror/state'; | ||
const baseTheme = /*@__PURE__*/EditorView.baseTheme({ | ||
".cm-matchingBracket": { backgroundColor: "#328c8252" }, | ||
".cm-nonmatchingBracket": { backgroundColor: "#bb555544" } | ||
"&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" }, | ||
"&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" } | ||
}); | ||
@@ -11,0 +11,0 @@ const DefaultScanDist = 10000, DefaultBrackets = "()[]{}"; |
{ | ||
"name": "@codemirror/matchbrackets", | ||
"version": "0.19.3", | ||
"version": "0.19.4", | ||
"description": "Bracket matching for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
19852