A place to suggest new commands, feats, skills, ...
-
Tamryn
- Sword Master
- Posts: 238
- Joined: Tue Dec 04, 2012 1:37 am
- Location: Zhentil Keep
Post
by Tamryn » Sat May 25, 2013 3:31 pm
Consider this a low-priority suggestion, but in case any changes were to be made to the editor, a couple of extra commands might be useful:
- /j X-Y - justify from line X to line Y inclusive, leaving the rest of the file untouched
- /S <pattern> - print all lines matching <pattern>
- /R <old> <new> - as /r (replace) but current line only
- /D - show difference between original and current file (in unified diff format?)
Also, some way to insert multiple lines in the middle of the buffer, rather than have each line overwrite the current line (useful when pasting external edits into the middle of a file).
Oh, and it would be great if /j ignored colour codes when considering line length -- but I'm sure that's been suggested plenty of times before
-
Raona
- Staff
- Posts: 4944
- Joined: Fri Aug 19, 2005 3:40 pm
- Location: Waterdeep - Halls of Justice
-
Contact:
Post
by Raona » Sun May 26, 2013 12:30 pm
Tamryn wrote:Consider this a low-priority suggestion, but in case any changes were to be made to the editor, a couple of extra commands might be useful:
- /j X-Y - justify from line X to line Y inclusive, leaving the rest of the file untouched
- /S <pattern> - print all lines matching <pattern>
- /R <old> <new> - as /r (replace) but current line only
- /D - show difference between original and current file (in unified diff format?)
Also, some way to insert multiple lines in the middle of the buffer, rather than have each line overwrite the current line (useful when pasting external edits into the middle of a file).
Oh, and it would be great if /j ignored colour codes when considering line length -- but I'm sure that's been suggested plenty of times before
I like these suggestions! But on the latter two points, going to the insert point, doing /i and then typing everything you've got on that one line and then /j will do the trick unless (as is often the case) there is some part of the helpfile that can't handle /j without getting messed up.
In my experience /j does account for colour codes and makes lines longer in edit but the right length when actually viewed with HELP.
The difference bit would really be helpful for helpfile approval! Thanks for the nifty suggestions, Tamyrn!
-
Hrosskell
- Staff
- Posts: 599
- Joined: Wed Jun 30, 2004 9:14 pm
- Location: Silverymoon
Post
by Hrosskell » Sun May 26, 2013 11:29 pm
I like /j X-Y and would like to also suggest /j #. 78 characters is nice for long descriptions, but I really prefer 60-65 for mid-length or starting characters who might not have the tattoos or intricate hairstyles (these usually develop for my toons as I play them), it just looks tidier and a bit easier to manage than 78 characters.
Jamais arriere.