Chapter 2. The User Interface

Table of Contents
Settings Dialog
Shortcuts Dialog
Find Dialog
Replace Dialog
Find in Files Dialog

CUTE´s user interface is made up of a main window with some docklets and an area for child views. A child view is a scintilla text widget, which can load a file, highlight source code, fold text, auto complete text and so on. A file can only be loaded once in order to avoid overwriting changed files, which was closed before. There is a command box for running CUTE and shell commands. It is capable of auto completing its contents by pulling the list box down. CUTE commands will be discribed in detail later.

Settings Dialog

The most important options can be set with the settings dialog.

Shortcuts Dialog

Each shortcut can be set using this dialog. By double clicking on list item a little dialog will be shown. You just have to type the new key sequence. If the new shorcut is unique and not part of another one it will be accepted by the shortcut dialog. Press the OK button to change the shortcuts, otherwise cancel the dialog.

Find Dialog

Searching a string or a regular expression is done with the find dialog. After the first occurrence was found, the “Find Next” and “Find Prvious” commands can be used to repeat the search.

Replace Dialog

Replacing one or more strings is done with the replace dialog. The user has to confirm each substitution. When the “Replace All” or “Replace in Selection” button is pressed no confirmation is needed.

Find in Files Dialog

This dialog is a front end of grep. The search results are displayed in the search docklet with line numbers, so that the user can double click an search item and jumps to the found line.