Fixed the QsciScintilla fix for older versions. 5_4_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 17 Mar 2014 19:01:14 +0100
branch
5_4_x
changeset 3391
30c8ac760fed
parent 3387
02886315fd26
child 3392
af3caefcda31

Fixed the QsciScintilla fix for older versions.
(grafted from 7f46edbfcbc03250fa74b45b677eb1ce819255d8)

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
--- a/QScintilla/QsciScintillaCompat.py	Mon Mar 17 18:28:35 2014 +0100
+++ b/QScintilla/QsciScintillaCompat.py	Mon Mar 17 19:01:14 2014 +0100
@@ -1333,7 +1333,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.
@@ -1373,7 +1373,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