mercurial/crecord.py
changeset 29081 4abca4cbe768
parent 29080 38f373497784
child 29130 ed2a3818c1fc
equal deleted inserted replaced
29080:38f373497784 29081:4abca4cbe768
   648 
   648 
   649         self.currentselecteditem = nextitem
   649         self.currentselecteditem = nextitem
   650 
   650 
   651     def downarrowshiftevent(self):
   651     def downarrowshiftevent(self):
   652         """
   652         """
   653         if the cursor is already at the bottom chunk, scroll the screen up and
   653         select (if possible) the next item on the same level as the currently
   654         move the cursor-position to the subsequent chunk.  otherwise, only move
   654         selected item.  otherwise, select (if possible) the next item on the
   655         the cursor position down one chunk.
   655         same level as the parent item of the currently selected item.
   656         """
   656         """
   657         # todo: update docstring
       
   658 
       
   659         currentitem = self.currentselecteditem
   657         currentitem = self.currentselecteditem
   660         nextitem = currentitem.nextitem()
   658         nextitem = currentitem.nextitem()
   661         # if there's no next item on this level, try choosing the parent's
   659         # if there's no next item on this level, try choosing the parent's
   662         # nextitem.
   660         # nextitem.
   663         if nextitem is None:
   661         if nextitem is None: