src/eric7/QScintilla/Shell.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10683
779cda568acb
child 10701
56fce4058bf1
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
1382 Private method to check, if the cursor is on the last line. 1382 Private method to check, if the cursor is on the last line.
1383 1383
1384 @return flag indicating that the cursor is on the last line 1384 @return flag indicating that the cursor is on the last line
1385 @rtype bool 1385 @rtype bool
1386 """ 1386 """
1387 cline, ccol = self.getCursorPosition() 1387 cline, _ccol = self.getCursorPosition()
1388 return cline == self.lines() - 1 1388 return cline == self.lines() - 1
1389 1389
1390 def keyPressEvent(self, ev): 1390 def keyPressEvent(self, ev):
1391 """ 1391 """
1392 Protected method to handle the user input a key at a time. 1392 Protected method to handle the user input a key at a time.

eric ide

mercurial