feat: highlight selected SQL matches

This commit is contained in:
t8y2 committed 2026-06-07 17:43:11 +08:00
1 parent a473f4ff8f
commit 4a64240e8a
2 files changed
+143

No files matched your search

@@ -67,6 +67,7 @@ import {
} from "@/lib/editorZoom";
import { shortcutToCodeMirrorKey } from "@/lib/shortcutRegistry";
import { trimmedSelectionLayer } from "@/lib/codemirrorTrimmedSelectionLayer";
import { selectionMatchOccurrences } from "@/lib/codemirrorSelectionMatches";
import * as api from "@/lib/api";
import {
areSqlSemanticDiagnosticsEqual,
@@ -1487,6 +1488,7 @@ onMounted(async () => {
foldGutter(),
drawSelection(),
trimmedSelectionLayer(),
selectionMatchOccurrences(),
dropCursor(),
EditorState.allowMultipleSelections.of(true),
indentOnInput(),