Fixed the QsciScintilla fix for older versions.

Mon, 17 Mar 2014 19:01:14 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 17 Mar 2014 19:01:14 +0100
changeset 3390
7f46edbfcbc0
parent 3389
d4b376de26ae
child 3393
080ace4829b4

Fixed the QsciScintilla fix for older versions.

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
--- a/QScintilla/QsciScintillaCompat.py	Mon Mar 17 18:59:03 2014 +0100
+++ b/QScintilla/QsciScintillaCompat.py	Mon Mar 17 19:01:14 2014 +0100
@@ -1336,7 +1336,7 @@
             
             return pos
     
-    elif QSCINTILLA_VERSION() >= 0x020800:
+    elif QSCINTILLA_VERSION() >= 0x020700:
         def positionFromLineIndex(self, line, index):
             """
             Public method to convert line and index to an absolute position.
@@ -1376,7 +1376,7 @@
             
             return lin, indx
     
-    elif QSCINTILLA_VERSION() >= 0x020800:
+    elif QSCINTILLA_VERSION() >= 0x020700:
         def lineIndexFromPosition(self, pos):
             """
             Public method to convert an absolute position to line and index.

eric ide

mercurial