CtkSourceView is a GNOME library that extends CtkTextView, the standard CTK+ widget for multiline text editing. CtkSourceView 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 CtkSourceView 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/CtkSourceView.
- GLib >= 2.48
- CTK+ >= 3.24
- libxml2 >= 2.6
- freebidi >= 0.19.7
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 CtkSourceView plus its dependencies from Git, Jhbuild is recommended.
See the 'HACKING' file.