gtksourceview5

GTK text view widget with syntax highlighting and text editing features

brewmacoslinux
Try with needOr install directly
Source

About

Text view with syntax, undo/redo, and text marks

Commands

gtksourceview5

Examples

Use gtksourceview5 as a library dependency for text editor development$ pkg-config --cflags --libs gtksourceview-5
Check gtksourceview5 installation and version information$ pkg-config --modversion gtksourceview-5
List available language definitions for syntax highlighting$ ls $(pkg-config --variable=datadir gtksourceview-5)/gtksourceview-5/language-specs/