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

穿精又带淫゛_ 提交于 2019-12-03 20:55:55

问题


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


回答1:


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.




回答2:


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/




回答3:


found this:

http://colorer.sourceforge.net/




回答4:


another project to note is the GNU source-highlite



来源:https://stackoverflow.com/questions/4165449/syntax-highlighting-library-written-in-c-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!