Cline » History » Version 6
Per Amundsen, 08/10/2014 03:47 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 | 6 | Per Amundsen | -h - TODO |
| 12 | -l - TODO |
||
| 13 | -m - TODO |
||
| 14 | -r - TODO |
||
| 15 | 1 | Per Amundsen | |
| 16 | *Parameters* |
||
| 17 | |||
| 18 | [c] - Optional line color. |
||
| 19 | <@name> - Custom window name. |
||
| 20 | <N> - Line number to color. |
||
| 21 | 6 | Per Amundsen | |
| 22 | 1 | Per Amundsen | |
| 23 | *Example* |
||
| 24 | <pre> |
||
| 25 | alias example { |
||
| 26 | ;Open a new custom window. |
||
| 27 | /window @test |
||
| 28 | |||
| 29 | 3 | Per Amundsen | ;Add a 'Hello World' line to the custom window. |
| 30 | 1 | Per Amundsen | /aline @test Hello World |
| 31 | |||
| 32 | 4 | Per Amundsen | ;Change the color of the first line to red (4) |
| 33 | 1 | Per Amundsen | /cline 4 @test 1 |
| 34 | } |
||
| 35 | </pre> |