0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-07 16:38:38 +00:00

add back things we had

This commit is contained in:
Víctor Losada Hernández
2026-04-21 23:57:32 +02:00
parent a253e5d85a
commit f59d8f9b05
@@ -13,6 +13,8 @@ import {
ViewPlugin,
drawSelection,
dropCursor,
rectangularSelection,
crosshairCursor,
} from '@codemirror/view';
import { EditorState, Compartment, StateEffect, StateField } from '@codemirror/state';
import { foldAll as foldAllCmd, unfoldAll as unfoldAllCmd, foldGutter, foldKeymap, syntaxHighlighting } from '@codemirror/language';
@@ -232,6 +234,8 @@ const CodeEditor = forwardRef(
//multiple cursors and selections
drawSelection(),
rectangularSelection,
crosshairCursor,
EditorState.allowMultipleSelections.of(true),
dropCursor(),
programmaticCursorLineField,