Project

General

Profile

Actions

Editbox Control » History » Revision 2

« Previous | Revision 2/26 (diff) | Next »
Per Amundsen, 04/28/2018 10:29 AM


Editbox

The Editbox is where you type messages to channels and users, it can also be used to type commands.

Commands

Typing a command with one forward slash /command parameters executes a built-in command, scripted identifier or a plugin command.

Typing a command with two forward slash //command parameters evaluates the parameters before executing a built-in command, scripted alias or a plugin command.

Spellcheck

Editbox supports spellchecking, see Spellcheck for a installation guide.

History

The Edibox have a history of previously sent messages/commands which you can cycle through using the UP or DOWN key, if the Editbox currently have multiple lines, you must press ALT + UP / DOWN instead, this is so you can use UP / DOWN to move the cursor between the lines.

By default each Editbox have it's own history, this can be changed to using a global history for all Editboxes in Editbox Options.

Tabcomplete

The Editbox supports various tab completions including nick completions using the TAB key, see Tabcomplete for more information.

See https://dev.adiirc.com/boards/5/topics/1302 for tab completing spellchecking.

Customization

See Editbox Options for available options.

The colors can be changed in Options -> Colors -> Editbox.

The font can be changed in Options -> Fonts or through the /font command.

Using scripts to extend Editbox features

It's possible to respond to keydown/keydown events using the on KEYDOWN and on KEYUP events.

It's possible to respond to pressing enter using the on INPUT event.

It's possible to respond to tab completion/tab key the on TABCOMP event.

Check the Scripting Forums for examples.

The /editbox command and the $editbox identifier allows retrieving or changing the Editbox text and selection.

See also $spellcheck.

Tips

Typing and then selecting a nick and then pressing CTRL + Space opens the nicklist menu for that nick, otherwise opens the Editbox right-click menu.

See also Shortcuts, there are many relevant to the Editbox.

Updated by Per Amundsen almost 6 years ago · 2 revisions

Also available in: PDF HTML TXT