# HG changeset patch # User Anton Shestakov # Date 1462449095 -28800 # Node ID 4abca4cbe7681b9c91bdb9397fcce4516bbfbe85 # Parent 38f37349778427002550d5e978b6679dd73777d7 crecord: update downarrowshiftevent() docstring, remove todo The phrasing is mostly taken from uparrowshiftevent(). diff -r 38f373497784 -r 4abca4cbe768 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