Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.69 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.69 KB

Fl_Highlight_Editor

Extensible and customizable editing widget for FLTK UI library.

Fl_Highlight_Editor

Usage

Fl_Highlight_Editor is a drop in replacement for Fl_Text_Editor and Fl_Text_Display widgets with ability to highlight the text and modify it with embedded Scheme scripting language.

The widget is fully self-contained and it doesn't depend on anything except FLTK library, making it suitable for embedding inside existing project.

Fl_Highlight_Editor design is inspired with Emacs editor and you will find many used terms and functions names similar with it. However, this widget is not Emacs nor complete editor, but component to build editors and advanced text handling widgets.

Usage details and how to extend it are described in Manual.

Installation

Make sure you have installed FLTK stable version (1.3.x), C++ compiler and GNU make. Running:

make

will compile the code. To see it in action, run examples in test folder, e.g.:

./test/example README.md

will display content of README.md and highlight it with markdown-mode.

If you would like to embed core Scheme files inside binary, keeping highlight code separate, you can run:

make BUNDLE_SCRIPTS=1

License

LGPL with exception (the same license as FLTK).