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

List:       kde-commits
Subject:    kdevelop/languages/cpp
From:       Adam Treat <manyoso () yahoo ! com>
Date:       2005-03-10 1:51:57
Message-ID: 20050310015157.9E1FD10B25 () office ! kde ! org
[Download RAW message or body]

CVS commit by treat: 

* Oopsie, that last one conflicted with my recent virtual method completion.
Make sure to check for that one...
* /me slaps around Ian to show how to setup some tests to make sure this kind
of regression doesn't happen.


  M +3 -1      cppcodecompletion.cpp   1.158


--- kdevelop/languages/cpp/cppcodecompletion.cpp  #1.157:1.158
@@ -446,5 +446,7 @@ void CppCodeCompletion::slotTextChanged(
         // !!WARNING!! This is very hackish, but KTE doesn't offer a way
         // to tell the completion box to _go_away_
-        if ( ch.simplifyWhiteSpace().isEmpty() && m_bCompletionBoxShow )
+        if ( ch.simplifyWhiteSpace().isEmpty() && 
+             !strCurLine.simplifyWhiteSpace().contains("virtual") &&
+             m_bCompletionBoxShow )
         {
                 QValueList<KTextEditor::CompletionEntry> entryList;


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

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