Dline » History » Version 4
Per Amundsen, 08/10/2014 03:50 AM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | */dline [-hl] <@name> <N[-N2]>* |
||
4 | |||
5 | Deletes the Nth line through N2th line in a custom window. |
||
6 | |||
7 | *Switches* |
||
8 | |||
9 | 4 | Per Amundsen | -h - Highlights the window's node in the treebar if the window is not active. |
10 | -l - Specify the action to take place on the side-listbox. |
||
11 | 1 | Per Amundsen | |
12 | *Parameter* |
||
13 | |||
14 | <@name> - Name of the custom window. |
||
15 | 2 | Per Amundsen | <N[-N2]> - The range to be deleted, (negative values are not accepted) |
16 | 1 | Per Amundsen | |
17 | *Example* |
||
18 | |||
19 | <pre> |
||
20 | alias example { |
||
21 | ;Open a custom window. |
||
22 | /window -de @Foo |
||
23 | |||
24 | ;Add a line, line colored in yellow. (8) |
||
25 | /aline 8 @Foo Line A |
||
26 | |||
27 | 3 | Per Amundsen | ;Add a line, color Dark Green. (3) |
28 | 1 | Per Amundsen | /aline 3 @Foo Line B |
29 | |||
30 | 3 | Per Amundsen | ;Add a line, color Dark Green. (3) |
31 | 1 | Per Amundsen | /aline -s 3 @Foo Line C |
32 | |||
33 | 3 | Per Amundsen | ;Add a line, color Dark Green. (3) |
34 | 1 | Per Amundsen | /aline -s 3 @Foo Line D |
35 | |||
36 | 3 | Per Amundsen | ;Delete line 2 and 3 with range 2-3, only A D remain. |
37 | 1 | Per Amundsen | /dline @Foo 2-3 |
38 | } |
||
39 | |||
40 | </pre> |