Patch submission #318

Screen Movement implementation "H", "L", "M"

Added by David Gayou 80 days ago. Updated 31 days ago.

Status:New Start:09/01/2008
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:libyzis
Target version:-

Description

Implementation of the commands "_n_H", "_n_L" and "_n_M", that move cursor to top, bottom, middle line of screen ( +_n_, -_n_, +_n_).

It manage the end file issue when last line of text aren't the last line of screen.

note : in vim, the argument n_ for the "H" command isn't implemented. As i see no reason, it would be better not to implement it. I did it with middle line of screen +_n lines. If needed i can remove it pretty easily. There's a commented line in mode_command.cpp YModeCommand::middleScreen to make it work as in vim.

screenMovement.patch (5.8 KB) David Gayou, 09/01/2008 11:09 AM

History

10/20/2008 02:01 AM - Loïc Paulevé

Can you update your patch against the new api ?
Thx :)

Also available in: Atom PDF