work save

This commit is contained in:
Roy Qu 2024-03-22 22:01:29 +08:00
parent a83ee3f16a
commit 7c29f4a964
1 changed files with 1 additions and 3 deletions

View File

@ -1788,7 +1788,7 @@ void QSynEdit::doMouseScroll(bool isDragging, int scrollX, int scrollY)
auto action = finally([this]{
decPaintLock();
});
internalSetCaretXY(vCaret);
internalSetCaretXY(vCaret, false);
// if MouseCapture is True we're changing selection. otherwise we're dragging
if (isDragging) {
@ -1805,8 +1805,6 @@ void QSynEdit::doMouseScroll(bool isDragging, int scrollX, int scrollY)
} else {
mScrollTimer->singleShot(20,this,&QSynEdit::onScrollTimeout);
}
// computeScroll(isDragging);
}
void QSynEdit::beginEditing()