Sfairadora

  • Reference Guide

Text Editor

.
This control is used to enter and edit plain (unformatted) text with multiple lines (that is, a text where you cannot select font type, switch to italics, etc.). Data edited by a text editor is usually of the Text type or it represents an Enki language function. A text consists of a sequence of lines, whose number is not limited. Any line can be as long as you like. If the length of a line exceeds the width of the window, it is not wrapped, but a horizontal scrollbar appears in the window instead.
The text editor can be in two modes. Either it is simply active – that means it is selected, but its content is not being edited; in this case its background has a different color. Or it is being edited – in this case a blinking cursor is displayed in the text. You can also preset the text editor to switch immediately to the editing mode (the cursor is displayed) when active so that it never occurs in the simple active mode. Editing the content of an active text editor is launched by one of the following options:
Key
Function
Enter, F2
Places the cursor at the end of existing text.
Delete
Deletes existing text and places the cursor in the empty text editor.
typing any character
Preserves the content of the editor and inserts the character at its end.
mouse click
Starts editing and places the cursor to the click position.

Editing

The following keys are available in the editing mode of the text editor:
Key
Function
→
Cursor jumps to the next character on the line.
←
Cursor jumps to the previous character on the line.
↑
Cursor jumps one line above.
↓
Cursor jumps one line below.
Ctrl + →
Cursor jumps to the beginning of the next word or moves to the next line, if applicable.
Ctrl + ←
Cursor jumps to the beginning of the previous word or moves to the previous line, if applicable.
End
Cursor jumps to the end of the line.
Home
Cursor jumps to the beginning of the line. In the System Settings you can choose whether the Home key moves the cursor to the first non-space character first (unless it is there already), or whether it always moves the cursor to the very beginning of the line.
Delete
The character next to the cursor or the selected part of the text is deleted.
Backspace (←)
The character in front of the cursor or the selected part of the text is deleted.
Ctrl+Z
Reverts one change. This way, changes can be rolled back up to the start of editing. The history of changes made during editing is deleted when editing ends, so changes cannot be reverted afterwards. An equivalent to the Edit|Undo menu command.
Ctrl+Y
Performs again the change reverted before by the Ctrl+Z key or by the Edit|Undo menu command. An equivalent to the Edit|Redo menu command.
Insert
Switches between the overtyping and inserting mode. The overtyping mode is indicated by a rectangular cursor covering the entire character.
Enter
Splits the paragraph where the cursor is located.
Shift →, Shift ←, Shift+Home, Shift+End, etc.
Keys for moving the cursor pressed together with the Shift key: cursor jumps in the required direction, and at the same time the range of text in between is selected.
Ctrl+A
Selects the entire text.
Selecting, copying, and moving parts of text is explained in chapter Copying and Moving Data.
You can determine whether the cursor can be placed also to the right of the last character in a line using the “enable cursor beyond end of line” option in the System Settings.

Status Line

During editing using the text editor, little boxes showing the numbers of the current line and column of the cursor position are displayed in the bottom right corner of the status line. You can modify these values by a mouse click to move quickly within longer texts.

End of Editing

The process of entering and editing text in the text editor can be ended by the following operations:
Key
Function
Shift+Enter
Saves changes and activates the next control in the window.
Esc
Cancels all changes made during editing and ends the editing mode.
activation of any other control
Changes are saved before you switch from the text editor to another control. You can switch to another control by a mouse click or by any of the keys for moving within a window. Editing can thus be saved and closed, for example, by pressing the ↓ key on the last line of the text or the ↑ key on the first line of the text (simply by moving the cursor out of the editor).