--- 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): """