Giter Site home page Giter Site logo

wurd's Introduction

Project Description

Wurd is a C++ text editor. Users can modify files, undo changes, and spell check. Features are as follows:

Keybinding Functionality
Arrow keys Move cursor
Backspace Delete character prior to cursor
Delete Delete character after cursor
Home Move cursor to start of line
End Move cursor to end of line
PgUp Move up one page
PgDown Move down one page
Ctrl-Z Undo last change
Ctrl-S Save file
Ctrl-L Load new file
Ctrl-D Load new dictionary (for spell check)
Ctrl-X Exit editor

Usage

To build Wurd

  1. Change into the Wurd directory and type make
  2. To run the program, type ./wurd

Project Files

The Wurd Test Editor was made through UCLA's CS32 course. A skeleton repo including the GUI and basic structure was provided through the class, in addition to a 20+ page spec detailing requirements.

From there, all files named Student* were written by me. Specifically, StudentTestEditor creates, holds, and modifies the file's text using a C++ list. StudentUndo enables the undo (Ctrl-Z) functionality using a stack. StudentSpellCheck performs the spell checking with the loaded dictionary using a trie. Note, dictionary.txt is loaded by default.

A compiled executable version of Wurd for MacOS named wurd has also been included in this repo. Feel free to try it out!

wurd's People

Contributors

sshah-gh avatar

Watchers

 avatar

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.