Project

General

Profile

Cline » History » Revision 8

Revision 7 (Per Amundsen, 08/10/2014 03:49 AM) → Revision 8/20 (Per Amundsen, 08/10/2015 08:17 AM)

_Added in 1.9.3_ 

 */cline [-hlmr] [c] <@name> <N>* 

 Changes the color of the Nth line to color [c]. 

 If [c] is not defined, the line will be reset to default color. 

 *Switches* 

 -h - Highlights the window's button. (if window is not active) 
 -l - Apply to side listbox. 
 -m - TODO 
 -r - Reset an item in the listbox to default; [c] parm must be omitted  

 *Parameters* 

 [c] - Optional line color. 
 <@name> - Custom window name. 
 <N> - Line number to color. 

 *Example* 
 <pre> 
 alias example { 
   ; Open ;Open a new custom window. 
   /window @Example @test 
  
   ; Add ;Add a 'Hello World' line to the custom window. 
   /aline @Example @test Hello World 

   ; Change ;Change the color of the first line to red (4). (4) 
   /cline 4 @Example @test 1 
 } 
 </pre>