Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntax highlighting library written in C/C++ [closed]

I am looking for a free (for commercial use) library for syntax coloring written in c/c++. Are there any out there?

like image 547
adrin Avatar asked Nov 12 '10 14:11

adrin


2 Answers

I am not sure if you are looking for something to color an existing control or a control with text coloring built in. If you are looking for the later you could check out Scintilla.

Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.

like image 113
Nick Van Brunt Avatar answered Sep 20 '22 18:09

Nick Van Brunt


GtkSourceView is a nice library for syntax highlighting and source code editing. It's used in several Gnome editors like gedit and Anjuta and is in active development; it also has a very permissive LGPL license which permits its use in commercial products.

There is also a C++ wrapper called gtksourceviewmm.

http://projects.gnome.org/gtksourceview/

like image 28
kalev Avatar answered Sep 20 '22 18:09

kalev