GtkSourceView
GtkSourceView is a GNOME library that extends GtkTextView, the standard GTK widget for multiline text editing. GtkSourceView adds support for syntax highlighting, undo/redo, file loading and saving, search and replace, a completion system, printing, displaying line numbers, and other features typical of a source code editor.
The GtkSourceView library is free software and is released under the terms of the GNU Lesser General Public License, see the 'COPYING' file for more details. The official web site is https://wiki.gnome.org/Projects/GtkSourceView.
Documentation
Nightly documentation can be found here.
Dependencies
- GLib >= 2.70
- GTK >= 4.6
- libxml2 >= 2.6
- fribidi >= 0.19.7
- libpcre2-8 >= 10.21
Installation
Simple install procedure from a tarball:
$ mkdir build
$ meson build
$ cd build
[ Become root if necessary ]
$ ninja install
See the file 'INSTALL' for more detailed information.
To build the latest version of GtkSourceView plus its dependencies from Git, Jhbuild is recommended.
How to contribute
See the 'HACKING' file.