Worker file manager

1. Text viewer

The text viewer shows the content of files as regular text. There are two ways of accessing this viewer: the internal text view command and the quick view mode.

1.1. Viewer with separate window

The internal text view command opens a new window with the content of the active file. The dialog allows to toggle word wrapping and line numbering. It is possible to jump to a given line and to search for some text.

The search can be activated by clicking into the text field, or by pressing "/". Doing so will start searching for the entered string from the top visible line. There is also a button to search for the next match, pressing enter will do the same. Another button searches backwards for the previous match. The third button will restart the search from the very beginning of the document.

When viewing binary files, the text viewer will convert non-printable characters to a dot. The window also contains a button to select a hexadecimal representation of non-printable characters. When selecting text with the mouse, the unmodified original data is copied into the clipboard in any case.

A toggle allows to switch between the main font and the alternative font (as defined in font configuration). It is often useful to have a variable width font and a mono-spaced font, depending on the content of the text file.

At the top right side of the window, there are one or two buttons. The "reload" buttons allows to reload the current file. The "read more" button is visible if the file has not been loaded completely. Large files are only read partially to reduce memory usage and waiting time, but by clicking on this button, more data is read. If the window is scrolled to the end of the text, more data is read automatically.

1.2. Text view mode

The text view mode is a separate panel mode that can be enabled by accessing the panel mode configuration (right click on the list view bar). In the default configuration the key Ctrl+v will toggle this mode.

The text view mode can use three kind of content sources:

There is also a command Activate Text View Mode to activate the mode with any of these specific settings.

1.3. Key bindings

KeyAction
ltoggle line numbering
wtoggle word wrapping
Ctrl+ljumps to a line
/ or Ctrl+fsearches for a string
Enter or nJump to next match
pJump to previous match
fToggle between main and alternative font
F3, F10 or qcloses window