Attempt fix crash on dragging
While I have been unable to reproduce it myself, the only possible reason behind this could be a cursor with cursor.line() > doc->lines(), I think.
While I have been unable to reproduce it myself, the only possible reason behind this could be a cursor with cursor.line() > doc->lines(), I think.