-
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.
* edEdit() handles the commands 'e', 'E' and 'r' ($InsertMode indicates 'r') * "E filename" and "e filename" replace the entire buffer with the file; specifying an address is invalid * "r" pastes a file into the current buffer; "r" can optionally have one or two addresses * Two-address "r" just uses the 2nd address, i.e. "1,2r file" is the same as "2r file" (paste file after line 2) * The old code that checked $args[1] wasn't correct * tidy1: edWrite(): make file mode a parameter to open() * tidy2: the same error message typo appeared a few times
- Loading branch information
Showing
1 changed file
with
11 additions
and
20 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