1193 @param evt event object to handle (QEvent) |
1193 @param evt event object to handle (QEvent) |
1194 @return result of the event handling (boolean) |
1194 @return result of the event handling (boolean) |
1195 """ |
1195 """ |
1196 return QsciScintillaBase.event(self, evt) |
1196 return QsciScintillaBase.event(self, evt) |
1197 |
1197 |
1198 # TODO: adjust this once we have a working QScintilla version |
|
1199 if "inputMethodEvent" in QsciScintillaBase.__dict__ and \ |
1198 if "inputMethodEvent" in QsciScintillaBase.__dict__ and \ |
1200 QSCINTILLA_VERSION() < 0x020900: |
1199 QSCINTILLA_VERSION() < 0x020801: |
1201 def inputMethodEvent(self, evt): |
1200 def inputMethodEvent(self, evt): |
1202 """ |
1201 """ |
1203 Protected method to cope with a glitch in some Qscintilla versions |
1202 Protected method to cope with a glitch in some Qscintilla versions |
1204 handling input events. |
1203 handling input events. |
1205 |
1204 |