Merged remote changes. 5_0_x

Tue, 01 Jun 2010 19:39:35 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 01 Jun 2010 19:39:35 +0200
branch
5_0_x
changeset 329
3d31db27f86e
parent 328
e38eaa05bf97 (current diff)
parent 324
b0f65938f873 (diff)
child 332
37619c8d6f0f

Merged remote changes.

--- a/QScintilla/QsciScintillaCompat.py	Mon May 31 19:22:29 2010 +0200
+++ b/QScintilla/QsciScintillaCompat.py	Tue Jun 01 19:39:35 2010 +0200
@@ -856,7 +856,22 @@
         """
         # call into the QsciCommandSet
         self.standardCommands().clearAlternateKeys()
+
+    #####################################################################################
+    # specialized event handlers
+    #####################################################################################
     
+    def focusOutEvent(self, event):
+        """
+        Public method called when the editor loses focus.
+        
+        @param event the event object (QFocusEvent)
+        """
+        if self.isListActive():
+            self.cancelList()
+        
+        QsciScintilla.focusOutEvent(self, event)
+
     #####################################################################################
     # interface methods to the mini editor
     #####################################################################################

eric ide

mercurial