-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite how global command (g) is interpreted: for global mode adrs-list will contain the line addresses to be processed (non-contiguous) * Now the command can be called once and the inbuf-list kludge can go away * Support global mode in edPrint() for commands l,n,p * Support global mode in edDelete() for command d * When deleting in global mode the addresses are processed backwards so the 1st splice doesn't upset the subsequent array offsets saved in adrs-list * Document in pod that "d" can now be used with v// and g// * Bump version * test1: 1,7g/t/d ---> delete lines matching /t/ only between lines 1 and 7 * test2: v/printf/d ---> delete all lines not matching /printf/
- Loading branch information
Showing
1 changed file
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters