From f59d8f9b0596124411429a095b1a5df9f407f8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Tue, 21 Apr 2026 23:57:32 +0200 Subject: [PATCH] add back things we had --- client/components/codeEditor/codeEditor.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/components/codeEditor/codeEditor.jsx b/client/components/codeEditor/codeEditor.jsx index 1e4688192..c63b9f2c8 100644 --- a/client/components/codeEditor/codeEditor.jsx +++ b/client/components/codeEditor/codeEditor.jsx @@ -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,