mirror of
https://github.com/heyman/heynote.git
synced 2025-02-18 03:01:12 +01:00
Change so that Alt+Click adds new cursor (instead of C+Click)
This commit is contained in:
parent
85a5bc95a7
commit
4d98d9c861
@ -55,6 +55,7 @@ const customSetup = /*@__PURE__*/(() => [
|
|||||||
drawSelection(),
|
drawSelection(),
|
||||||
dropCursor(),
|
dropCursor(),
|
||||||
EditorState.allowMultipleSelections.of(true),
|
EditorState.allowMultipleSelections.of(true),
|
||||||
|
EditorView.clickAddsSelectionRange.of(e => e.altKey),
|
||||||
indentOnInput(),
|
indentOnInput(),
|
||||||
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
|
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
|
||||||
bracketMatching(),
|
bracketMatching(),
|
||||||
|
Loading…
Reference in New Issue
Block a user