Cline » History » Version 7
Per Amundsen, 08/10/2014 03:49 AM
1 | 2 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | 6 | Per Amundsen | */cline [-hlmr] [c] <@name> <N>* |
4 | 1 | Per Amundsen | |
5 | Changes the color of the Nth line to color [c]. |
||
6 | |||
7 | If [c] is not defined, the line will be reset to default color. |
||
8 | |||
9 | *Switches* |
||
10 | |||
11 | 7 | Per Amundsen | -h - Highlights the window's button. (if window is not active) |
12 | -l - Apply to side listbox. |
||
13 | 6 | Per Amundsen | -m - TODO |
14 | 7 | Per Amundsen | -r - Reset an item in the listbox to default; [c] parm must be omitted |
15 | 1 | Per Amundsen | |
16 | *Parameters* |
||
17 | |||
18 | [c] - Optional line color. |
||
19 | <@name> - Custom window name. |
||
20 | 6 | Per Amundsen | <N> - Line number to color. |
21 | 1 | Per Amundsen | |
22 | *Example* |
||
23 | <pre> |
||
24 | alias example { |
||
25 | ;Open a new custom window. |
||
26 | /window @test |
||
27 | |||
28 | 3 | Per Amundsen | ;Add a 'Hello World' line to the custom window. |
29 | 1 | Per Amundsen | /aline @test Hello World |
30 | |||
31 | 4 | Per Amundsen | ;Change the color of the first line to red (4) |
32 | 1 | Per Amundsen | /cline 4 @test 1 |
33 | } |
||
34 | </pre> |