MCPcopy Create free account
hub / github.com/breck7/scroll / done

Function done

external/.scrollLibs.js:10317–10325  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

10315 }
10316
10317 function done(e) {
10318 cm.state.selectingText = false
10319 counter = Infinity
10320 e_preventDefault(e)
10321 display.input.focus()
10322 off(display.wrapper.ownerDocument, "mousemove", move)
10323 off(display.wrapper.ownerDocument, "mouseup", up)
10324 doc.history.lastSelOrigin = null
10325 }
10326
10327 var move = operation(cm, function (e) {
10328 if (e.buttons === 0 || !e_button(e)) {

Callers 1

leftButtonSelectFunction · 0.85

Calls 2

e_preventDefaultFunction · 0.85
offFunction · 0.85

Tested by

no test coverage detected