A GNOME library to display and edit source code

GtkSourceView receives €15.91 per week from 24 patrons. Goal: €50.00


GtkSourceView is a GNOME library to display and edit source code. It provides many features: syntax highlighting, undo/redo, file loading and saving, search and replace, auto-completion, printing, displaying line numbers, etc.

In Debian, more than 50 applications rely on GtkSourceView, including gedit and GNOME Builder.

In addition to GtkSourceView, there is also the new Tepl library, the “Text editor product line”. Tepl serves as an incubator for GtkSourceView: when developing new features and new APIs, the features are first developed in Tepl to not make GtkSourceView unstable. So this fundraising concerns also Tepl, but GtkSourceView and Tepl are in essence the same project.

Progress reports

Roadmap for GNOME 3.28 (March 2018)

If this fundraising is successful, here are the plans for the next version.

Release GtkSourceView 4

The remaining item to do for GtkSourceView 4 is to rename the code namespace from GtkSource to Gsv, because GtkSource conflicts with the Gtk namespace (they have the same prefix). To do this, some tools need to be developed, to keep a good coding style after renaming the types and functions (for the indentation and alignment). See this bug for more details.

Improve the file loading and saving API and implementation

In 2014, a file loading and saving API has been added to GtkSourceView (for a total of 8000 lines of code; loading and saving a file looks simple when using it, but it's not that simple to implement). But that API is a bit low-level, an application has still a lot of work to do to have a good integration (with progress bars, error handling, metadata, etc).

The first goal here is to develop in Tepl a high-level API, to minimize the amount of work that an application needs to do.

The other goal is to improve the implementation, especially for the file loader, because the current implementation is far from perfect (it has problems to detect the character encoding, performance problems, and other issues).

Longer-Term Roadmap

There is plenty of possible things to do, as the GtkSourceView and Tepl roadmap shows.

In short, the priority is to:

  • Continue to well maintain the codebase, to be as bug-free as possible and have clean code;
  • Ease the development of text editors and IDEs, by making more features re-usable and by creating higher-level APIs.

Why GtkSourceView is on Liberapay

Although GtkSourceView is used by many applications, the library has been almost entirely developed by volunteer work, without being paid, except a few Google Summer of Code. Nowadays Sébastien Wilmet is doing almost all the work, he is the maintainer of GtkSourceView and Tepl, and seeks financial support.

The Liberapay platform has been chosen for several reasons:

  • Liberapay is run by a non-profit organization;
  • The platform is rooted in the open source community, and as such it has open source code;
  • It has very low fees, Liberapay is funded like any other project on Liberapay itself. We give them a part of the donations we receive;
  • The donations are recurrent, so it's something the developers can better count on.

Thanks for your support!


View income shares


GtkSourceView joined 3 months ago.

Euros Received Per Week


Number of Patrons Per Week