Project

General

Profile

Cline » History » Version 9

Per Amundsen, 08/10/2015 09:03 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 9 Per Amundsen
  ; Open a custom window.
26 8 Per Amundsen
  /window @Example
27 1 Per Amundsen
  
28 8 Per Amundsen
  ; Add a 'Hello World' line to the custom window.
29
  /aline @Example Hello World
30 1 Per Amundsen
31 8 Per Amundsen
  ; Change the color of the first line to red (4).
32
  /cline 4 @Example 1
33 1 Per Amundsen
}
34
</pre>