MCPcopy Index your code
hub / github.com/methodofaction/Method-Draw / setCursorFromPoint

Function setCursorFromPoint

src/js/svgcanvas.js:3577–3579  ·  view source on GitHub ↗
(mouse_x, mouse_y)

Source from the content-addressed store, hash-verified

3575 }
3576
3577 function setCursorFromPoint(mouse_x, mouse_y) {
3578 setCursor(getIndexFromPoint(mouse_x, mouse_y));
3579 }
3580
3581 function setEndSelectionFromPoint(x, y, apply) {
3582 var i1 = textinput.selectionStart;

Callers 1

svgcanvas.jsFile · 0.85

Calls 2

setCursorFunction · 0.85
getIndexFromPointFunction · 0.85

Tested by

no test coverage detected