QScintilla/QsciScintillaCompat.py

branch
5_3_x
changeset 2651
93439c60fe45
parent 2631
06f866e83d3a
child 2652
894f162dd635
equal deleted inserted replaced
2649:3e42ab1cd03b 2651:93439c60fe45
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)

eric ide

mercurial