Category Archives: GtkSourceView

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 | Leave a comment

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, 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, 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

Making the gedit source code more reusable

On IRC I see some developers working on other text editors based on GtkTextView/GtkSourceView. It is a good thing in my opinion to have specialized text editors. They are easier to use and configure. A specialized application has a potentially … Continue reading

Posted in gedit, GtkSourceView | Comments Off on Making the gedit source code more reusable

Search and replace behavior for a text editor

The search and replace is one of those features that have a wide variety of different implementations and behaviors across applications. The nice thing with my work I did this summer on GtkSourceView, is that you can build whatever behavior … Continue reading

Posted in GtkSourceView, LaTeXila | 6 Comments

The GSoC on GtkSourceView/gedit comes to an end

A small update on my GSoC. The first part took a little longer than expected. But I’m happy with the results, the search and replace API is simple and flexible, there were not a lot of bugs to fix, and … Continue reading

Posted in gedit, GSoC, GtkSourceView | Comments Off on The GSoC on GtkSourceView/gedit comes to an end