(e)
| 449 | var up = connect(document, "mouseup", operation(done), true); |
| 450 | } |
| 451 | function onDoubleClick(e) { |
| 452 | for (var n = e_target(e); n != wrapper; n = n.parentNode) |
| 453 | if (n.parentNode == gutterText) return e_preventDefault(e); |
| 454 | var start = posFromMouse(e); |
| 455 | if (!start) return; |
| 456 | lastDoubleClick = {time: +new Date, pos: start}; |
| 457 | e_preventDefault(e); |
| 458 | selectWordAt(start); |
| 459 | } |
| 460 | function onDrop(e) { |
| 461 | if (options.onDragEvent && options.onDragEvent(instance, addStop(e))) return; |
| 462 | e.preventDefault(); |
nothing calls this directly
no test coverage detected