GtkSourceView is a text widget for Gtk+-2 that provides syntax highlighting and other features typically expected in a source code editor.