QsciScintillaCompat: fixed a bug causing issues with older PyQt5 versions.

Mon, 15 Apr 2019 18:57:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 15 Apr 2019 18:57:14 +0200
changeset 6948
c6e580fd9bb1
parent 6947
179eef72c548
child 6952
31602c3f09fd

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

eric ide

mercurial