535 """ |
535 """ |
536 return self.SendScintilla(QsciScintilla.SCI_GETSELECTIONS) |
536 return self.SendScintilla(QsciScintilla.SCI_GETSELECTIONS) |
537 |
537 |
538 def getSelectionN(self, index): |
538 def getSelectionN(self, index): |
539 """ |
539 """ |
540 Public method to get the start and end of a selection given by it's index. |
540 Public method to get the start and end of a selection given by its index. |
541 |
541 |
542 @return tuple with start line and index and end line and index |
542 @return tuple with start line and index and end line and index |
543 (tuple of four int) for the given selection |
543 (tuple of four int) for the given selection |
544 """ |
544 """ |
545 startPos = self.SendScintilla(QsciScintilla.SCI_GETSELECTIONNSTART, index) |
545 startPos = self.SendScintilla(QsciScintilla.SCI_GETSELECTIONNSTART, index) |