Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.58 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.58 KB

📖 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;
    • QuitClose + 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