Open bilogic opened 3 months ago
Switching the editor to Monaco would mean to rewriting 50% of the code so that's not likely to happen. That said, I'm pretty sure that CodeMirror (the current editor component) supports multiple cursors out of the box. I think I disabled them early on to simplify a lot of things.
Personally I've never wanted to use multiple cursors for note taking, so that's why I never invested in making this work. Reenabling this feature is I'm sure possible, but likely also not that simple because a TON of code assume a single cursor and single selection. If anybody's interested in taking this one, though. Be my guest 🙂
Would be great if we could update to a multi cursor editor, https://github.com/microsoft/monaco-editor, the one used by VSCode is probably a good choice.
Selecting the same word across the whole page and then replacing them would improve the consistency of the writing, this would also require a multi cursor editor.
I'm not sure if it can be adjusted to retain the current look and feel though.