Giter Club home page Giter Club logo

editor's Introduction

Editor

Screenshot

This is a text editor built using FLTK GUI library and C++. It is heavily based on the default FLTK text editor widget, Fl_Text_Editor, which in turn is based on the NEdit editor. It is designed to be cross-platform, but so far I have only tested builds on macOS.

The editor itself is pretty bare-bones. Here are some of the features (this list can also be found in test.txt, the default file opened when the program starts):

  • Line numbers
  • Custom coloring of text and background
  • Menus that show keyboard shortcuts
  • Support for macOS's menu system (menu is on the taskbar instead of in-window)
  • Save, Save As, and Open operations for files using CMD-S, CMD-Shift-S, and CMD-O
  • Emacs-like "Next word" and "Prior word" with CMD-F and CMD-B
  • Basic support for font-loading; right now, the program is configured to use Monaco, a monospace font on macOS.
  • Indication as to when the current buffer has been edited

Building

To build and install the app, you first must clone the repository, then install the fltk git module.

Building the program should be as simple as running make. This will build the FLTK static library if necessary.

Note: fltk is included as a git submodule in this repo, not as a shared library in the standard system install location (e.g. /usr/lib). This makes it simpler to install and reinstall the fltk submodule, and also reduces the chance that the app will conflict with any other shared libraries/package managers.

I hope that you find this project interesting (and maybe useful)!

editor's People

Contributors

csb6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.