Skip to content

πŸ“– A text viewer with caret written in WinAPI

License

Notifications You must be signed in to change notification settings

MeShootIn/Reader

Repository files navigation

πŸ“– Reader

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.

⚑ Requirements

Windows 95 or higher.

πŸ“¦ Installation

Just clone the repository somewhere:

git clone https://github.com/MeShootIn/Reader.git

πŸš€ Usage

Run bin/Release/Reader.exe file.

⌨️ Movements

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.

πŸŽ›οΈ Menu bar

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.

πŸ§ͺ Test

To test this program, you can try to view the files from the directory test.

πŸ“œ License

GNU General Public License v3.0