--- a/QScintilla/QsciScintillaCompat.py Mon May 06 19:58:43 2013 +0200 +++ b/QScintilla/QsciScintillaCompat.py Wed May 08 18:34:20 2013 +0200 @@ -471,6 +471,10 @@ """ self.SendScintilla(QsciScintilla.SCI_LINEENDEXTEND) + startLine, startIndex, endLine, endIndex = self.getSelection() + return startLine != -1 and \ + startLine != endLine and \ + self.SendScintilla(QsciScintilla.SCI_SELECTIONISRECTANGLE) def getLineSeparator(self): """ Public method to get the line separator for the current eol mode.