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

List:       kde-commits
Subject:    KDE/kdelibs/kate/part
From:       Hamish Rodda <rodda () kde ! org>
Date:       2006-07-02 12:52:39
Message-ID: 1151844759.254088.5975.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 557119 by rodda:

Fix build from earlier forward port

Reintroduce hiding of code completion on loss of focus (disabled for
debugging reasons only)


 M  +4 -4      kateviewinternal.cpp  


--- trunk/KDE/kdelibs/kate/part/kateviewinternal.cpp #557118:557119
@@ -1126,7 +1126,7 @@
     return;
   }
 
-  KateTextLine::Ptr l = textLine( cursor.line() );
+  KateTextLine::Ptr l = textLine( m_cursor.line() );
 
   if (!l)
     return;
@@ -1172,7 +1172,7 @@
     return;
   }
 
-  KateTextLine::Ptr l = textLine( cursor.line() );
+  KateTextLine::Ptr l = textLine( m_cursor.line() );
   if (!l)
     return;
 
@@ -2768,8 +2768,8 @@
 
 void KateViewInternal::focusOutEvent (QFocusEvent *)
 {
-  //if (m_view->isCompletionActive())
-    //m_view->abortCompletion();
+  if (m_view->isCompletionActive())
+    m_view->abortCompletion();
 
   if( ! m_view->m_codeCompletion->codeCompletionVisible() )
   {
[prev in list] [next in list] [prev in thread] [next in thread] 

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