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
.