(e2)
| 599 | // Let the drag handler handle this. |
| 600 | if (webkit) lineSpace.draggable = true; |
| 601 | function dragEnd(e2) { |
| 602 | if (webkit) lineSpace.draggable = false; |
| 603 | draggingText = false; |
| 604 | up(); drop(); |
| 605 | if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) { |
| 606 | e_preventDefault(e2); |
| 607 | setCursor(start.line, start.ch, true); |
| 608 | focusInput(); |
| 609 | } |
| 610 | } |
| 611 | var up = connect(document, "mouseup", operation(dragEnd), true); |
| 612 | var drop = connect(scroller, "drop", operation(dragEnd), true); |
| 613 | draggingText = true; |
nothing calls this directly
no test coverage detected