diff --git a/NEWS.md b/NEWS.md index 88b831da..24099e43 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ Version 0.10.1 For Dev-C++ 7 Beta - fix: can't correctly display stl containers in watch - fix: the last line in the debug console is not correctly displayed - enhancement: scroll while dragging text in the editor + - fix: dragging out of the editor shouldn't reset the caret back Version 0.10.0 For Dev-C++ 7 Beta - enhancement: use gdb/mi interface to communicate with gdb debug session diff --git a/RedPandaIDE/qsynedit/SynEdit.cpp b/RedPandaIDE/qsynedit/SynEdit.cpp index b27f86c8..4f50f7ff 100644 --- a/RedPandaIDE/qsynedit/SynEdit.cpp +++ b/RedPandaIDE/qsynedit/SynEdit.cpp @@ -6194,10 +6194,10 @@ void SynEdit::dragMoveEvent(QDragMoveEvent *event) void SynEdit::dragLeaveEvent(QDragLeaveEvent *) { - setCaretXY(mDragCaretSave); - setBlockBegin(mDragSelBeginSave); - setBlockEnd(mDragSelEndSave); - showCaret(); +// setCaretXY(mDragCaretSave); +// setBlockBegin(mDragSelBeginSave); +// setBlockEnd(mDragSelEndSave); +// showCaret(); mScrollTimer->stop(); mDragging = false; }