# HG changeset patch # User Anton Shestakov # Date 2016-05-05 11:51:35 # Node ID 4abca4cbe7681b9c91bdb9397fcce4516bbfbe85 # Parent 38f37349778427002550d5e978b6679dd73777d7 crecord: update downarrowshiftevent() docstring, remove todo The phrasing is mostly taken from uparrowshiftevent(). diff --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -650,12 +650,10 @@ class curseschunkselector(object): 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