Project

General

Profile

Editbox Control » History » Version 1

Per Amundsen, 04/28/2018 10:29 AM

1 1 Per Amundsen
h1. Editbox Control
2 1 Per Amundsen
3 1 Per Amundsen
!editbox.png!
4 1 Per Amundsen
5 1 Per Amundsen
The Editbox is where you type messages to channels and users, it can also be used to type [[Scripting Commands|commands]].
6 1 Per Amundsen
7 1 Per Amundsen
h1. Commands
8 1 Per Amundsen
9 1 Per Amundsen
Typing a command with one forward slash */command parameters* executes a built-in command, scripted identifier or a plugin command.
10 1 Per Amundsen
11 1 Per Amundsen
Typing a command with two forward slash *//command parameters* evaluates the parameters before executing a built-in command, scripted alias or a plugin command.
12 1 Per Amundsen
13 1 Per Amundsen
h1. Spellcheck
14 1 Per Amundsen
15 1 Per Amundsen
Editbox supports spellchecking, see [[Spellcheck]] for a installation guide.
16 1 Per Amundsen
17 1 Per Amundsen
h1. History
18 1 Per Amundsen
19 1 Per Amundsen
The Edibox have a history of previously sent messages/commands which you can cycle through using the %(key)UP% or %(key)DOWN% key, if the Editbox currently have multiple lines, you must press %(key)ALT% + %(key)UP% / %(key)DOWN% instead, this is so you can use %(key)UP% / %(key)DOWN% to move the cursor between the lines.
20 1 Per Amundsen
21 1 Per Amundsen
By default each Editbox have it's own history, this can be changed to using a global history for all Editboxes in [[Editbox Options]].
22 1 Per Amundsen
23 1 Per Amundsen
h1. Tabcomplete
24 1 Per Amundsen
25 1 Per Amundsen
The Editbox supports various tab completions including nick completions using the %(key)TAB% key, see [[Tabcomplete]] for more information.
26 1 Per Amundsen
27 1 Per Amundsen
_See https://dev.adiirc.com/boards/5/topics/1302 for tab completing spellchecking._
28 1 Per Amundsen
29 1 Per Amundsen
h1. Customization
30 1 Per Amundsen
31 1 Per Amundsen
See [[Editbox Options]] for available options.
32 1 Per Amundsen
33 1 Per Amundsen
The colors can be changed in [[Options Dialog|Options]] -> [[Colors Options|Colors]] -> Editbox.
34 1 Per Amundsen
35 1 Per Amundsen
The font can be changed in [[Options Dialog|Options]] -> [[Fonts Options|Fonts]] or through the [[/font]] command.
36 1 Per Amundsen
37 1 Per Amundsen
h1. Using scripts to extend Editbox features
38 1 Per Amundsen
39 1 Per Amundsen
It's possible to respond to keydown/keydown events using the [[on KEYDOWN]] and [[on KEYUP]] events.
40 1 Per Amundsen
41 1 Per Amundsen
It's possible to respond to pressing enter using the [[on INPUT]] event.
42 1 Per Amundsen
43 1 Per Amundsen
It's possible to respond to tab completion/tab key the [[on TABCOMP]] event.
44 1 Per Amundsen
45 1 Per Amundsen
Check the "Scripting Forums":/projects/adiirc/boards/5 for examples.
46 1 Per Amundsen
47 1 Per Amundsen
The [[/editbox]] command and the [[$editbox]] identifier allows retrieving or changing the Editbox text and selection.
48 1 Per Amundsen
49 1 Per Amundsen
_See also [[$spellcheck]]._
50 1 Per Amundsen
51 1 Per Amundsen
h1. Tips
52 1 Per Amundsen
53 1 Per Amundsen
Typing and then selecting a nick and then pressing %(key)CTRL% + %(key)Space% opens the nicklist menu for that nick, otherwise opens the Editbox right-click menu.
54 1 Per Amundsen
55 1 Per Amundsen
_See also [[Shortcuts]], there are many relevant to the Editbox._