Skip to content

Dialog Text Viewer

Digitoxin edited this page May 4, 2026 · 3 revisions

Text Viewer

The Text Viewer dialog displays plain text content in a read-only or editable multi-line text box.

It is used throughout the application wherever plain text needs to be shown: viewing a text file stored in a disk image, reading the application change log, displaying device information, or presenting generated reports such as bandwidth analysis.


How to Open

The Text Viewer is opened indirectly by various commands:

  • View File as Text from the directory and file panel context menu.
    See Directory and File Panel.
  • Menu: Help -> Change Log
  • Menu: Flux Configuration -> Greaseweazle -> Info (device information output).
  • Menu: Reports -> Report Bandwidth (bitstream images only)

The caller supplies the window title, the text content, whether the content can be edited, and whether a Save button should be shown.


Overview

The Text Viewer always opens with the caret at the beginning of the text and displays as much of the content as fits on screen, with scroll bars for longer text.

When the caller enables editing (for example, when viewing a writable text file inside an image), changes can be typed directly; otherwise the text box is read-only.


Buttons

Save

Saves the current text content to a file.

  • The default filename is suggested based on the source of the text (for example, the entry name when viewing a file inside an image).
  • Supported filters are plain text (.txt) and all files.
  • The save button bar is hidden when the caller has disabled saving (for example, for the change log).

Close

Closes the dialog.

The Escape key also closes the dialog.


Notes

  • The Text Viewer does not interpret the content; it is displayed as-is.
  • When used to View File as Text, the dialog is always read-only; text files inside images are edited via the hex editor or by replacing the file.
  • No search is built into this viewer; use the hex editor if you need to search within the content of an image file.

Clone this wiki locally