GithubHelp home page GithubHelp logo

meshootin / reader Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 8.15 MB

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

License: GNU General Public License v3.0

C++ 88.50% C 11.50%
c cpp text-view text-viewer win-api winapi windows

reader's Introduction

๐Ÿ“– 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.