QScintilla/QsciScintillaCompat.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2684
b1d8db9a31bc
parent 2763
e4794166ad70
child 3057
10516539f238
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
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)

eric ide

mercurial