Mon, 15 Apr 2019 18:57:14 +0200
QsciScintillaCompat: fixed a bug causing issues with older PyQt5 versions.
eric6/QScintilla/QsciScintillaCompat.py | file | annotate | diff | comparison | revisions |
--- a/eric6/QScintilla/QsciScintillaCompat.py Mon Apr 15 18:56:20 2019 +0200 +++ b/eric6/QScintilla/QsciScintillaCompat.py Mon Apr 15 18:57:14 2019 +0200 @@ -53,8 +53,10 @@ elif QSCINTILLA_VERSION() < 0x020800: IndicatorStyleMax = QsciScintilla.INDIC_SQUIGGLEPIXMAP elif QSCINTILLA_VERSION() < 0x020900: + IndicatorStyleMax = QsciScintilla.INDIC_COMPOSITIONTHICK + elif QSCINTILLA_VERSION() < 0x020A00: IndicatorStyleMax = QsciScintilla.INDIC_TEXTFORE - elif QSCINTILLA_VERSION() < 0x020A00: + elif QSCINTILLA_VERSION() < 0x020B00: IndicatorStyleMax = QsciScintilla.INDIC_POINTCHARACTER else: IndicatorStyleMax = QsciScintilla.INDIC_GRADIENTCENTRE