XNap offers several GUI elements which enhance existing and well known components with advanced functionality.
The HistoryTextField behaves like a usual text field enriching its functionality with an invisible history keeping track of everything you've typed in.
This comes in handy for instance if you want to repeat something you have already written before in a chat conversation.
The HistoryTextField behaves pretty much like a standard UNIX shell:
Show the previous element in the history.
Show the next element in the history.
Show the first element in the history.
Move to the end of the history.
The HistoryComboBox provides a text field where you can enter text and uses its pull-down menu for displaying the history of already entered items.
The HistoryComboBox also provides a context menu which contains a menu item to clear the history and a submenut completion mode.
from which you can select your preferredThe history entries of all active HistoryComboBoxes can also be cleared globally, see Edit Menu.
Most of XNap's tables offer the following features:
The width of each column is saved and restored when you start XNap again.
The visibility of each column is configurable.
Press the right mouse button on one of the table headers and a menu will popup up where you can activate or deactivate columns.
The tables can be sorted by clicking on the respective header with the left mouse button.
There is an additional option in the table menus described above:
. When activated, new rows are inserted without destroying the sort order.Most of the frequently used text input fields support completion of the already entered input.
To change the way completion is done on a specific text field you can
click on the text field to open a context menu which contains a submenu called . In this menu you can select one of the following options:Disable completion. What you get is what you type.
A drop-down window will appear as you type, showing the possible matches to what you have typed so far.
You can use the mouse to select one of the possible matches or use the Down Arrow and Up Arrow to navigate through the list using Enter to select an item.
While you are typing possible completions are appended behind your input. The completed text is marked selected so it is automatically deleted if you keep on typing.
Depending on the type of completion (Text Completion or File Completion) the alphabetically first completion is appended.
If the correct completion is appended you can just press Enter to confirm it.
The completion is appended to the current input like in the
mode, the only difference being that only the longest common prefix of all possible completions is chosen.This mode presents a mixture of the
and the mode.Completion has to be triggered manually by a special key sequence which can be configured in the Shortcuts preferences panel.
The default shortcut is: Ctrl-t
Only the longest common prefix of all possible completions is actually appended.
This completion mode tries to mimic Emacs'
(dabbrev-expand)
.
The default shortcut for cycling forward through all possible completions is: Ctrl-t
The default shortcut for cycling backward is: Ctrl-r
The shortcuts can be changed globally in the Shortcuts preferences panel.
Setting this option makes the input field honor the global default completion mode.