Aline » History » Version 10
Per Amundsen, 08/10/2014 03:34 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 7 | Per Amundsen | */aline [-ahilnps] [color] <@name> <text>* |
| 4 | 1 | Per Amundsen | |
| 5 | Add <text> into custom window named <@name>. |
||
| 6 | |||
| 7 | 2 | Per Amundsen | *Switches* |
| 8 | |||
| 9 | 10 | Per Amundsen | -a - Selects the newly added item while keeping the old selection in a listbox |
| 10 | -h - Highlights the window's node in the treebar/switchbar is the window is minimized |
||
| 11 | 9 | Per Amundsen | -iN - Indents the wrapped line by N characters. |
| 12 | 10 | Per Amundsen | -l - Specify the action to take place on the side-listbox |
| 13 | -n - Prevent the line from being added if it already exists |
||
| 14 | 5 | Per Amundsen | -p - TODO |
| 15 | 10 | Per Amundsen | -s - Clears the old selection in a listbox and selects the newly added item |
| 16 | 2 | Per Amundsen | |
| 17 | *Parameters* |
||
| 18 | |||
| 19 | 8 | Per Amundsen | [color] - Line color number. |
| 20 | 2 | Per Amundsen | <@name> - The custom window name. |
| 21 | 8 | Per Amundsen | <text> - The text to add. |
| 22 | 3 | Per Amundsen | |
| 23 | *Example* |
||
| 24 | 6 | Per Amundsen | |
| 25 | 3 | Per Amundsen | <pre> |
| 26 | 4 | Per Amundsen | alias example { |
| 27 | 3 | Per Amundsen | ;Open a custom window |
| 28 | /window -de @test |
||
| 29 | |||
| 30 | ;Add a blue colored line |
||
| 31 | /aline 12 @test Hello world |
||
| 32 | } |
||
| 33 | </pre> |