Dline » History » Revision 3
Revision 2 (Per Amundsen, 02/09/2014 07:00 PM) → Revision 3/6 (Per Amundsen, 02/09/2014 07:01 PM)
_Added in 1.9.1_
*/dline [-hl] <@name> <N[-N2]>*
Deletes the Nth line through N2th line in a custom window.
*Switches*
-h - TODO
-l - TODO
*Parameter*
<@name> - Name of the custom window.
<N[-N2]> - The range to be deleted, (negative values are not accepted)
*Example*
<pre>
alias example {
;Open a custom window.
/window -de @Foo
;Add a line, line colored in yellow. (8)
/aline 8 @Foo Line A
;Add a line, color Dark Green. Green (3)
/aline 3 @Foo Line B
;Add a line, color Dark Green. Green (3)
/aline -s 3 @Foo Line C
;Add a line, color Dark Green. Green (3)
/aline -s 3 @Foo Line D
;Delete line 2 and 3 with range 2-3, only A D remain. remain
/dline @Foo 2-3
}
</pre>