[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kotext
From:       Kazuki Ohta <mover () hct ! zaq ! ne ! jp>
Date:       2005-01-30 15:39:33
Message-ID: 20050130153933.6AEED1B55C () office ! kde ! org
[Download RAW message or body]

CVS commit by kzk: 

reduce cursor flicker in typing characters via "InputMethod"


  M +4 -1      kotextview.cc   1.132


--- koffice/lib/kotext/kotextview.cc  #1.131:1.132
@@ -444,5 +444,8 @@ void KoTextView::handleImComposeEvent( Q
     int preeditStartIdx = m_cursor->index();
     textDocument()->setSelectionStart( KoTextDocument::InputMethodPreedit, m_cursor );
-    insertText( e->text() );
+    textObject()->insert( m_cursor, m_currentFormat, e->text(), false, true, i18n("Insert Text"),
+                          CustomItemsMap(),
+                          KoTextDocument::Standard,
+                          false /* NOT REPAINT CURSOR! */);
     textDocument()->setSelectionEnd( KoTextDocument::InputMethodPreedit, m_cursor );
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic