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): |