diff -r 0caac6d00bc2 -r ba75374fc164 QScintilla/QsciScintillaCompat.py --- a/QScintilla/QsciScintillaCompat.py Sun Nov 13 13:59:04 2011 +0100 +++ b/QScintilla/QsciScintillaCompat.py Sun Nov 13 19:13:43 2011 +0100 @@ -10,7 +10,8 @@ from PyQt4.QtCore import Qt from PyQt4.QtGui import QApplication, QPalette, QColor from PyQt4.Qsci import QsciScintilla, \ - QSCINTILLA_VERSION as QsciQSCINTILLA_VERSION, QSCINTILLA_VERSION_STR + QSCINTILLA_VERSION as QsciQSCINTILLA_VERSION, QSCINTILLA_VERSION_STR, \ + QsciScintillaBase ##################################################################################### @@ -1003,6 +1004,17 @@ self.cancelList() QsciScintilla.focusOutEvent(self, event) + + def event(self, evt): + """ + Public method to handle events. + + Note: We are not interested in the standard QsciScintilla event handling + because we do it our self. + + @param evt event object to handle (QEvent) + """ + return QsciScintillaBase.event(self, evt) ##################################################################################### # interface methods to the mini editor