MCPcopy
hub / github.com/witheve/Eve / done

Function done

src/codemirror.js:3808–3816  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

3806 }
3807
3808 function done(e) {
3809 cm.state.selectingText = false;
3810 counter = Infinity;
3811 e_preventDefault(e);
3812 display.input.focus();
3813 off(document, "mousemove", move);
3814 off(document, "mouseup", up);
3815 doc.history.lastSelOrigin = null;
3816 }
3817
3818 var move = operation(cm, function(e) {
3819 if (!e_button(e)) done(e);

Callers 1

leftButtonSelectFunction · 0.70

Calls 1

focusMethod · 0.80

Tested by

no test coverage detected