This is a simple text viewer written in WinAPI. Unlike many others, this one can view and iterate through the text with the number of lines greater than SHRT_MAX
(32767) without lags and crashes.
Initially, it was my course work on the subject "User Interface Development", but then I decided to add the caret functionality.
Windows 95 or higher.
Just clone the repository somewhere:
git clone https://github.com/MeShootIn/Reader.git
Run bin/Release/Reader.exe
file.
Use the following keys:
- Up, Down, Left, Right β to move through the text;
- Home and End β to move to the beginning and end of the line, respectively;
- Page Up and Page Down β to scroll the page up and down respectively.
The following menu items are present:
File
:Open...
β opens a file;Close
β closes the currently viewed file;Quit
βClose
+ exits the program.
View
:-
Layout mode
β enables line wrapping to eliminate the need of scrolling horizontally in order to see overly long lines; -
Non-layout mode
β disables line wrapping (checked by default).
-
Help
:About
β shows information about the program.
To test this program, you can try to view the files from the directory test
.