QScintilla/QsciScintillaCompat.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3039
8dd0165d805d
child 3080
6c0a430b19df
--- a/QScintilla/QsciScintillaCompat.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/QScintilla/QsciScintillaCompat.py	Sun Nov 03 15:58:22 2013 +0100
@@ -12,7 +12,7 @@
 from PyQt4.QtCore import pyqtSignal, Qt
 from PyQt4.QtGui import QPalette, QColor, QApplication
 from PyQt4.Qsci import QsciScintilla, \
-    QSCINTILLA_VERSION as QsciQSCINTILLA_VERSION, QSCINTILLA_VERSION_STR, \
+    QSCINTILLA_VERSION as QSCIQSCINTILLA_VERSION, QSCINTILLA_VERSION_STR, \
     QsciScintillaBase
 
 ###############################################################################
@@ -30,7 +30,7 @@
     if '-snapshot-' in QSCINTILLA_VERSION_STR:
         return 0x99999
     else:
-        return QsciQSCINTILLA_VERSION
+        return QSCIQSCINTILLA_VERSION
     
 ###############################################################################
 
@@ -496,8 +496,8 @@
         """
         startLine, startIndex, endLine, endIndex = self.getSelection()
         return startLine != -1 and \
-               startLine != endLine and \
-               self.SendScintilla(QsciScintilla.SCI_SELECTIONISRECTANGLE)
+            startLine != endLine and \
+            self.SendScintilla(QsciScintilla.SCI_SELECTIONISRECTANGLE)
     
     def getRectangularSelection(self):
         """

eric ide

mercurial