[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/shapes/text
From: Thomas Zander <zander () kde ! org>
Date: 2007-02-02 10:28:44
Message-ID: 1170412124.607134.18716.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 629314 by zander:
Also repaint selection when dragging the mouse
M +2 -1 TextTool.cpp
--- trunk/koffice/shapes/text/TextTool.cpp #629313:629314
@@ -260,8 +260,9 @@
int position = pointToPosition(event->point);
if(position >= 0) {
repaintCaret();
+ int prevPos = m_caret.position();
m_caret.setPosition(position, QTextCursor::KeepAnchor);
- repaintCaret();
+ repaintSelection(prevPos, m_caret.position());
}
updateSelectionHandler();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic