TextView  -  To demonstrate text file formatting

by Thomas Down


TextView accompanies the Wimp Topics article, Text formatting revisited, in this month's magazine. It uses the TextLib library, described in the article, to format a text file in a window.

To run TextView, double click on its icon. It opens a window containing the formatted text. Clicking Menu in this window allows you to switch between a number of common text formatting techniques, described in the article. When the Continuous option is ticked, the text in the window is continuously reformatted as the window is resized, otherwise it is formatted to the maximum width of the window.

The TextView application always reads text from the TestText file inside the
TextView application.

The Basic file, TextLib, found inside the TextView application, can be used
to format text in your own programs. Load TextLib into your prefered Basic
editor for details of the procedures provided, and the data structures
used.

 Copyright RISC User Magazine 1997
