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

Function click

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

Source from the content-addressed store, hash-verified

220 };
221 const shiftClickSelectionExtension = EditorView.domEventHandlers({
222 click(event) {
223 if (!touchSelectionController?.consumePendingShiftSelectionClick(event)) {
224 return false;
225 }
226 event.preventDefault();
227 return true;
228 },
229 });
230 const touchSelectionUpdateExtension = EditorView.updateListener.of(
231 (update) => {

Callers

nothing calls this directly

Calls 3

handleLineNumberClickFunction · 0.90
preventDefaultMethod · 0.45

Tested by

no test coverage detected