MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isShiftSelectionActive

Function isShiftSelectionActive

src/lib/editorManager.js:217–220  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

215 },
216 );
217 const isShiftSelectionActive = (event) => {
218 if (!appSettings.value.shiftClickSelection) return false;
219 return !!event?.shiftKey || quickTools?.$footer?.dataset?.shift != null;
220 };
221 const shiftClickSelectionExtension = EditorView.domEventHandlers({
222 click(event) {
223 if (!touchSelectionController?.consumePendingShiftSelectionClick(event)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected