Skip to content


Subversion checkout URL

You can clone with
Download ZIP
C Python Perl XSLT Makefile Shell Other
Branch: master
Pull request Compare This branch is even with GNOME:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tests tests: fix duplicate test case path
COPYING Get rid of GPL, GtkSourceView is fully relicensed to LGPL
README build: give up on set -x in Have a clean git status 2.4.0


General Information

This is version 3.18.1 of GtkSourceView.

GtkSourceView is a text widget that extends the standard GTK+ text widget

It improves GtkTextView by implementing syntax highlighting and other
features typical of a source code editor.

The official web site is:

You can download the latest GtkSourceView tarball from the gnome ftp server:

Discussion of GtkSourceView happens in the
mailing list.  You can subscribe and get further information here:

The GtkSourceView library is free software and is released under the terms of
the GNU Lesser General Public License.


GtkSourceView requires GLib >= 2.44, GTK+ >= 3.16 and libxml2 >= 2.6.

Simple install procedure:

  % tar Jxf gtksourceview-3.18.1.tar.xz    # unpack the sources
  % cd gtksourceview-3.18.1		   # change to the toplevel directory
  % ./configure				   # run the `configure' script
  % make				   # build gtksourceview
  [ Become root if necessary ]
  % make install			   # install gtksourceview

See the file 'INSTALL' for more detailed information.

How to report bugs

Bugs should be reported to the GNOME bug tracking system.
(, product gtksourceview).
You will need to create an account for yourself.

In the bug report please include:
* Information about your system. For instance:

   - What version of GtkSourceView
   - What operating system and version
   - What version of the gtk+, glib and gnome libraries

  And anything else you think is relevant.

* How to reproduce the bug. 

* If the bug was a crash, the exact text that was printed out when the
  crash occurred.

* Further information such as stack traces may be useful, but is not
  necessary. If you do send a stack trace, and the error is an X error,
  it will be more useful if the stacktrace is produced running the test
  program with the --sync command line option.

Please check the bugzilla pages for the list of known bugs.


Patches should also be submitted to If the patch
fixes an existing bug, add the patch as an attachment to that bug

Otherwise, enter a new bug report that describes the problem the patch
fixes, and attach it to that bug report.

Patches should be created with the git format-patch command.
Please follow the coding style described in the HACKING file.

If you are interested in helping us to develop GtkSourceView, please see the 
file 'MAINTAINERS' for contact information and/or send a message to
the GtkSourceView mailing list. See also the file 'HACKING' for
information about our git guidelines.

The GtkSourceView team.
Something went wrong with that request. Please try again.