Iline » History » Version 1
Per Amundsen, 11/26/2015 06:45 PM
1 | 1 | Per Amundsen | _Added in 2.2_ |
---|---|---|---|
2 | |||
3 | */iline [-ahilnps] [color] <@name> <N> <text>* |
||
4 | |||
5 | Inserts <text> into the Nth line in a custom window named <@name>. |
||
6 | |||
7 | *Switches* |
||
8 | |||
9 | -a - Selects the newly added item while keeping the old selection in a listbox |
||
10 | -h - Highlights the window's node in the treebar/switchbar is the window is minimized |
||
11 | -iN - Indents the wrapped line by N characters. |
||
12 | -l - Specify the action to take place on the side-listbox |
||
13 | -n - Prevent the line from being added if it already exists |
||
14 | -p - TODO |
||
15 | -s - Clears the old selection in a listbox and selects the newly added item |
||
16 | |||
17 | *Parameters* |
||
18 | |||
19 | [color] - Line color number. |
||
20 | <@name> - The custom window name. |
||
21 | <N> - The line number to insert the text at. |
||
22 | <text> - The text to add. |
||
23 | |||
24 | *Example* |
||
25 | |||
26 | <pre> |
||
27 | ; Open a custom window. |
||
28 | /window -de @Example |
||
29 | |||
30 | ; Add 3 blue colored lines. |
||
31 | /aline 12 @Example Line1 |
||
32 | /aline 12 @Example Line2 |
||
33 | /aline 12 @Example Line3 |
||
34 | |||
35 | ; Insert a red colored lines at line number 2 |
||
36 | /iline 4 @Example 2 Line4 |
||
37 | </pre> |