Cline » History » Version 4
  Per Amundsen, 02/09/2014 03:27 PM 
  
| 1 | 2 | Per Amundsen | _Added in 1.9.3_ | 
|---|---|---|---|
| 2 | |||
| 3 | 1 | Per Amundsen | */cline [-hlmr] [c] <@name> <N>* | 
| 4 | |||
| 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 | -h - TODO | ||
| 12 | -l - TODO | ||
| 13 | -m - TODO | ||
| 14 | -r - TODO | ||
| 15 | |||
| 16 | *Parameters* | ||
| 17 | |||
| 18 | [c] - Optional line color. | ||
| 19 | <@name> - Custom window name. | ||
| 20 | <N> - Line number to color. | ||
| 21 | |||
| 22 | |||
| 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> |