Project

General

Profile

Actions

Iline » History » Revision 1

Revision 1/8 | Next »
Per Amundsen, 11/26/2015 06:45 PM


Added in 2.2

/iline [-ahilnps] [color] <@name> <N> <text>

Inserts <text> into the Nth line in a custom window named <@name>.

Switches

-a - Selects the newly added item while keeping the old selection in a listbox
-h - Highlights the window's node in the treebar/switchbar is the window is minimized
-iN - Indents the wrapped line by N characters.
-l - Specify the action to take place on the side-listbox
-n - Prevent the line from being added if it already exists
-p - TODO
-s - Clears the old selection in a listbox and selects the newly added item

Parameters

[color] - Line color number.
<@name> - The custom window name.
<N> - The line number to insert the text at.
<text> - The text to add.

Example

; Open a custom window.
/window -de @Example

; Add 3 blue colored lines.
/aline 12 @Example Line1
/aline 12 @Example Line2
/aline 12 @Example Line3

; Insert a red colored lines at line number 2
/iline 4 @Example 2 Line4

Updated by Per Amundsen almost 9 years ago · 1 revisions

Also available in: PDF HTML TXT