QScintilla/Shell.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 3056
9986ec0e559a
parent 2965
d133c7edd88a
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
884 pass 884 pass
885 885
886 def __isCursorOnLastLine(self): 886 def __isCursorOnLastLine(self):
887 """ 887 """
888 Private method to check, if the cursor is on the last line. 888 Private method to check, if the cursor is on the last line.
889
890 @return flag indicating that the cursor is on the last line (boolean)
889 """ 891 """
890 cline, ccol = self.getCursorPosition() 892 cline, ccol = self.getCursorPosition()
891 return cline == self.lines() - 1 893 return cline == self.lines() - 1
892 894
893 def keyPressEvent(self, ev): 895 def keyPressEvent(self, ev):

eric ide

mercurial