Project

General

Profile

Actions

Cline » History » Revision 7

« Previous | Revision 7/20 (diff) | Next »
Per Amundsen, 08/10/2014 03:49 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

alias example {
  ;Open a new custom window.
  /window @test

  ;Add a 'Hello World' line to the custom window.
  /aline @test Hello World

  ;Change the color of the first line to red (4)
  /cline 4 @test 1
}

Updated by Per Amundsen over 10 years ago · 7 revisions

Also available in: PDF HTML TXT