crecord: update downarrowshiftevent() docstring, remove todo
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 05 May 2016 19:51:35 +0800
changeset 29081 4abca4cbe768
parent 29080 38f373497784
child 29083 af6d4a49e361
crecord: update downarrowshiftevent() docstring, remove todo The phrasing is mostly taken from uparrowshiftevent().
mercurial/crecord.py
--- 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