Text editor

RemotePLE includes a simple text editor for editing text files directly on the server: extensions txt, csv, cue and tag. The file is downloaded from the server, edited here and, when saved, written back to the same location (the original file is overwritten). This works for FTP, SFTP and the local file mode alike.

Opening the editor:
- Double-click a text file in the FTP tab or in one of the source lists (Song, Voicetrack, Jingle, Drop, Opener, Promo, Contributions).
- Or open the context menu with the right mouse button and choose "Edit file" (menu key e).
- Or press Ctrl+E. Ctrl+E edits the file in the list that currently has the focus.

The menu entry and Ctrl+E are only active when exactly one file with an editable extension is selected.

The editor window:
- Text area: the actual content to edit. When the editor opens, the cursor is placed here right away.
- Encoding: a selection field for the character encoding (see below).
- Button "Save": writes the changes and uploads the file back to the server.
- Button "Read aloud": reads the whole text.
- Button "Close": closes the editor.

Keyboard operation:
- Navigate the text with the arrow keys. On every line change the current line is read out; empty lines are announced as "Empty line".
- Ctrl+S saves and uploads the file (like the "Save" button).
- Use the Tab key to move between the text area, the encoding selection and the buttons. When you enter an element its description is announced.
- Escape closes the editor. If there are unsaved changes, a prompt appears: Yes saves and uploads, No discards the changes, Cancel keeps the editor open.

Character encoding:
The file's encoding is detected automatically when loading (ANSI, UTF-8, UTF-8 with BOM or UTF-16) and preserved unchanged when saving, so the file is not converted unintentionally. The detected encoding is announced when opening. Use the "Encoding" selection field to change the encoding for saving if needed.

Note: When saving, a line break may be added at the end of the file. For cue, tag and csv files this has no effect.
