QScintilla/Shell.py

changeset 2965
d133c7edd88a
parent 2940
e9348df06994
child 3020
542e97d4ecb3
child 3057
10516539f238
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
882 pass 882 pass
883 883
884 def __isCursorOnLastLine(self): 884 def __isCursorOnLastLine(self):
885 """ 885 """
886 Private method to check, if the cursor is on the last line. 886 Private method to check, if the cursor is on the last line.
887
888 @return flag indicating that the cursor is on the last line (boolean)
887 """ 889 """
888 cline, ccol = self.getCursorPosition() 890 cline, ccol = self.getCursorPosition()
889 return cline == self.lines() - 1 891 return cline == self.lines() - 1
890 892
891 def keyPressEvent(self, ev): 893 def keyPressEvent(self, ev):

eric ide

mercurial