(e)
| 649 | var up = connect(document, "mouseup", operation(done), true); |
| 650 | } |
| 651 | function onDoubleClick(e) { |
| 652 | for (var n = e_target(e); n != wrapper; n = n.parentNode) |
| 653 | if (n.parentNode == gutterText) return e_preventDefault(e); |
| 654 | var start = posFromMouse(e); |
| 655 | if (!start) return; |
| 656 | lastDoubleClick = {time: +new Date, pos: start}; |
| 657 | e_preventDefault(e); |
| 658 | selectWordAt(start); |
| 659 | } |
| 660 | function onDrop(e) { |
| 661 | if (options.onDragEvent && options.onDragEvent(instance, addStop(e))) return; |
| 662 | e.preventDefault(); |
nothing calls this directly
no test coverage detected