- fix: dragging out of the editor shouldn't reset the caret back
This commit is contained in:
parent
03ae21ebf6
commit
f8a8f5df67
1
NEWS.md
1
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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue