Project

General

Profile

Dline » History » Version 2

Per Amundsen, 02/09/2014 07:00 PM

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
-h - TODO
10
-l - TODO
11
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
  ;Add a line, color Dark Green (3)
28
  /aline 3 @Foo Line B
29
30
  ;Add a line, color Dark Green (3)
31
  /aline -s 3 @Foo Line C
32
33
  ;Add a line, color Dark Green (3)
34
  /aline -s 3 @Foo Line D
35
36
  ;Delete line 2 and 3 with range 2-3, only A D remain
37
  /dline @Foo 2-3
38
}
39
40
</pre>