QScintilla/QsciScintillaCompat.py

branch
5_4_x
changeset 3216
001982b9acf9
parent 3176
51feb6174cc2
child 3233
33b91e6c5ae4
child 3240
7cb4665c9c05
equal deleted inserted replaced
3214:c7c19a65dcde 3216:001982b9acf9
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

eric ide

mercurial