QScintilla/QsciScintillaCompat.py

changeset 325
dd7377dbd057
parent 97
c4086afea02b
child 330
4b4f242bf3f6
child 403
c5bd65142984
equal deleted inserted replaced
319:09f456ec6fcf 325:dd7377dbd057
854 """ 854 """
855 Protected method to clear the alternate key commands. 855 Protected method to clear the alternate key commands.
856 """ 856 """
857 # call into the QsciCommandSet 857 # call into the QsciCommandSet
858 self.standardCommands().clearAlternateKeys() 858 self.standardCommands().clearAlternateKeys()
859 859
860 #####################################################################################
861 # specialized event handlers
862 #####################################################################################
863
864 def focusOutEvent(self, event):
865 """
866 Public method called when the editor loses focus.
867
868 @param event the event object (QFocusEvent)
869 """
870 if self.isListActive():
871 self.cancelList()
872
873 QsciScintilla.focusOutEvent(self, event)
874
860 ##################################################################################### 875 #####################################################################################
861 # interface methods to the mini editor 876 # interface methods to the mini editor
862 ##################################################################################### 877 #####################################################################################
863 878
864 def getFileName(self): 879 def getFileName(self):

eric ide

mercurial