I cant find syntax highlighting module/file/class e.t.c in source code of gedit

I want to improve gedit syntax highlighting but i cant find the definition of it. Do you know where is it located?

Hi,

Most distributions install them under:
/usr/share/gtksourceview-4/language-specs/

For the color scheme (or “style scheme”), see Change the color scheme which links to libgedit-gtksourceview :: Style schemes

There are also *.lang files, see Part III. Syntax highlighting reference: libgedit-gtksourceview 300 Reference Manual

Before creating a new *.lang file, see if it already exists elsewhere. gedit currently uses libgedit-gtksourceview, a fork of GtkSourceView.

That’s for GtkSourceView, not libgedit-gtksourceview.

ah, yes, sorry, forgot it was forked…
Thanks for the reminder!

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.