Bug#41431: [patch] this time for real
Nicolai Haehnle <[email protected]> Wed, 31 Jul 2002 11:33:25 +0200
| Newsgroups | gmane.comp.kde.devel.kate |
|---|---|
| Message-ID | <[email protected]> |
Sorry, forgot to actually attach the patch. hth, Nicolai
kate-cursor.patch
(text/x-diff, 734 B)
Index: part/kateviewinternal.cpp
===================================================================
RCS file: /home/kde/kdelibs/kate/part/kateviewinternal.cpp,v
retrieving revision 1.110
diff -p -u -r1.110 kateviewinternal.cpp
--- part/kateviewinternal.cpp 23 Jul 2002 16:30:54 -0000 1.110
+++ part/kateviewinternal.cpp 31 Jul 2002 09:13:19 -0000
@@ -551,6 +552,12 @@ void KateViewInternal::updateCursor( con
QPoint cursorP = cursorCoordinates();
setMicroFocusHint( cursorP.x(), cursorP.y(), 0, m_doc->viewFont.fontHeight );
+
+ if (cursorTimer) {
+ killTimer(cursorTimer);
+ cursorTimer = startTimer( KApplication::cursorFlashTime() / 2 );
+ cursorOn = true;
+ }
emit m_view->cursorPositionChanged();
}