Category Archives: GtkSourceView

Gtef 2.0 – GTK+ Text Editor Framework

Gtef is now hosted on gnome.org, and the 2.0 version has been released alongside GNOME 3.24. So it’s a good time for a new blog post on this new library. The main goal of Gtef is to ease the development of … Continue reading

Posted in Gtef, GtkSourceView, Library development | 5 Comments

Re: Consider the maintainer

I’ve read this LWN article: Consider the maintainer. It was a great read, and I want to share my thoughts, from my experience on being a maintainer (or helping the maintenance) of several GNOME modules. GNOME has a lot of … Continue reading

Posted in GtkSourceView, LaTeXila, Library development, Me Myself and I, Programming, Thoughts | 5 Comments

Smooth transition to new major versions of a set of libraries

With GTK+ 4 in development, it is a good time to reflect about some best-practices to handle API breaks in a library, and providing a smooth transition for the developers who will want to port their code. But this is … Continue reading

Posted in GtkSourceView, Library development, Programming, Thoughts | 7 Comments

Announcing Gtef, an incubator for GtkSourceView

Gtef – the acronym for “GNOME Text Editor Framework” – is a new library that eases the development of GtkSourceView-based text editors and IDEs. It can serve as an incubator for some GtkSourceView features. See the Gtef repo on GitHub … Continue reading

Posted in Gtef, GtkSourceView | 2 Comments

Using the GtkSourceView API to write scripts that manipulate text

In the gnome-c-utils repository, I wrote some scripts that use the GtkSourceView library. When a script needs to read some text, search something in it, and possibly edit the content, then having a GtkTextBuffer is really convenient. GtkTextBuffer is good … Continue reading

Posted in GtkSourceView | Comments Off on Using the GtkSourceView API to write scripts that manipulate text

Thoughts on the Linux Mint X-Apps forks

You may be aware that Linux Mint has forked several GNOME applications, either directly from GNOME (Totem -> Xplayer, Evince -> Xreader, Eye of GNOME -> Xviewer), or indirectly via MATE (gedit -> pluma -> XEd). GNOME is like the … Continue reading

Posted in gedit, gspell, GtkSourceView, Library development, Programming, Thoughts | 12 Comments

Libtool convenience library to unit test private functions

Only the public API of a library is exported, so when a program is dynamically linked to the DSO (Dynamic Shared Object), it can only use the public functions. So how do you unit test the private classes of your … Continue reading

Posted in gspell, GtkSourceView, Library development, Programming | Comments Off on Libtool convenience library to unit test private functions

Announcing gCSVedit, a simple text editor to edit CSV files

As part of my job at the Université Catholique de Louvain, one of my projects is to develop gCSVedit, a small and simple text editor to edit CSV files. gCSVedit is now a free/libre software (GPLv3+ license) and is hosted … Continue reading

Posted in gCSVedit, gedit, GtkSourceView | 7 Comments

Introducing gspell, a new spell checking library

As part of the LaTeXila project and its fundraiser, I’m working on a new spell checking library called gspell. Some background At first I wanted to contribute to GtkSpell so that GtkSpell and GtkSourceView work well together, without a dependency … Continue reading

Posted in gedit, gspell, GtkSourceView, LaTeXila | 5 Comments

File loading and saving in GtkSourceView, finally

Last year GtkSourceView saw a new search and replace API. This year it’s the file loading and saving that has just landed! It is in the continuity of making the gedit source code more reusable for other text editors. In … Continue reading

Posted in finally, gedit, GtkSourceView | 1 Comment