(e2)
| 399 | // Let the drag handler handle this. |
| 400 | if (webkit) lineSpace.draggable = true; |
| 401 | function dragEnd(e2) { |
| 402 | if (webkit) lineSpace.draggable = false; |
| 403 | draggingText = false; |
| 404 | up(); drop(); |
| 405 | if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) { |
| 406 | e_preventDefault(e2); |
| 407 | setCursor(start.line, start.ch, true); |
| 408 | focusInput(); |
| 409 | } |
| 410 | } |
| 411 | var up = connect(document, "mouseup", operation(dragEnd), true); |
| 412 | var drop = connect(scroller, "drop", operation(dragEnd), true); |
| 413 | draggingText = true; |
nothing calls this directly
no test coverage detected