changeset 29081:4abca4cbe768

crecord: update downarrowshiftevent() docstring, remove todo The phrasing is mostly taken from uparrowshiftevent().
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 05 May 2016 19:51:35 +0800
parents 38f373497784
children af6d4a49e361
files mercurial/crecord.py
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/crecord.py	Thu May 05 19:40:40 2016 +0800
+++ b/mercurial/crecord.py	Thu May 05 19:51:35 2016 +0800
@@ -650,12 +650,10 @@
 
     def downarrowshiftevent(self):
         """
-        if the cursor is already at the bottom chunk, scroll the screen up and
-        move the cursor-position to the subsequent chunk.  otherwise, only move
-        the cursor position down one chunk.
+        select (if possible) the next item on the same level as the currently
+        selected item.  otherwise, select (if possible) the next item on the
+        same level as the parent item of the currently selected item.
         """
-        # todo: update docstring
-
         currentitem = self.currentselecteditem
         nextitem = currentitem.nextitem()
         # if there's no next item on this level, try choosing the parent's