gtksourceview4

GTK text view widget with syntax highlighting and editing features

brewmacoslinux
Try with needOr install directly
Source

About

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

Commands

gtksourceview4

Examples

Check the installed version of gtksourceview4$ pkg-config --modversion gtksourceview-4
Verify gtksourceview4 library installation and get compiler flags$ pkg-config --cflags --libs gtksourceview-4
List available language definitions for syntax highlighting$ ls $(pkg-config --variable=libdir gtksourceview-4)/gtksourceview-4/language-specs/