Install gir1.2-gtksource-3.0 by entering the following commands in the terminal:
sudo apt update sudo apt install gir1.2-gtksource-3.0
Description:
gir files for the GTK+ syntax highlighting widget
GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget GtkTextView. It improves GtkTextView by implementing syntax highlighting and other features typical of a source editor. . This package contains GObject introspection information.
Homepage: https://wiki.gnome.org/Projects/GtkSourceView
Version: 3.24.7-1
Section: introspection