469 """ |
469 """ |
470 Public method to extend the selection to the end of the line. |
470 Public method to extend the selection to the end of the line. |
471 """ |
471 """ |
472 self.SendScintilla(QsciScintilla.SCI_LINEENDEXTEND) |
472 self.SendScintilla(QsciScintilla.SCI_LINEENDEXTEND) |
473 |
473 |
|
474 startLine, startIndex, endLine, endIndex = self.getSelection() |
|
475 return startLine != -1 and \ |
|
476 startLine != endLine and \ |
|
477 self.SendScintilla(QsciScintilla.SCI_SELECTIONISRECTANGLE) |
474 def getLineSeparator(self): |
478 def getLineSeparator(self): |
475 """ |
479 """ |
476 Public method to get the line separator for the current eol mode. |
480 Public method to get the line separator for the current eol mode. |
477 |
481 |
478 @return eol string (string) |
482 @return eol string (string) |