2025-11-14 :: Mid-November News
Misc news about the gedit text editor, mid-November edition!
Website: new design
Probably the highlight this month is the new design of the gedit website.
If it looks familiar to some of you, it's normal, it's because it's an adaptation of the previous GtkSourceView website that was developed in the old gnomeweb-wml repository. gnomeweb-wml (projects.gnome.org) is what predates all the wiki pages for Apps and Projects. The wiki has been retired, so another solution had to be found.
For the timeline, projects.gnome.org was available until 2013/2014 where all the content had been migrated to the wiki. Then the wiki has been retired in 2024.
Note that there are still rough edges on the gedit website, and more importantly some efforts still need to be done to bring the old CSS stylesheet forward to the new(-ish) responsive web design world.
For the most nostalgic of you:
-
gedit website in 2013 (
projects.gnome.org/gedit/on web.archive.org) -
GtkSourceView website in 2013 (
projects.gnome.org/gtksourceview/on web.archive.org)
And for the least nostalgic of you:
What we can say is that the gedit project has stood the test of time!
Enter TeX: improved search and replace
Some context: I would like some day to unify the search and replace feature between Enter TeX and gedit. It needs to retain the best of each.
In Enter TeX it's a combined horizontal bar, something that I would like in gedit too to replace the dialog window that occludes part of the text.
In gedit the strengths include: the search-as-you-type possibility, and a history of past searches. Both are missing in Enter TeX. (These are not the only things that need to be retained; the same workflows, keyboard shortcuts etc. are also an integral part of the functionality).
So to work towards that goal, I started in Enter TeX. I merged around 50 commits in the git repository for this change already, rewriting in C (from Vala) some parts and improving the UI along the way. The code needs to be in C because it'll be moved to libgedit-tepl so that it can be consumed by gedit easily.
Here is how it looks:
Internal refactoring for GeditWindow and its statusbar
GeditWindow is what we can call a god class. It is too big, both in the number of lines and the number of instance variables.
So this month I've continued to refactor it, to extract a GeditWindowStatus class. There was already a GeditStatusbar class, but its features have now been moved to libgedit-tepl as TeplStatusbar.
GeditWindowStatus takes up the responsibility to create the TeplStatusbar, to fill it with the indicators and other buttons, and to make the connection with GeditWindow and the current tab/document.
So as a result, GeditWindow is a little less omniscient ;-)
As a conclusion
gedit does not materialize out of empty space; it takes time to develop and maintain. To demonstrate your appreciation of this piece of software and help its future development, remember that you can fund the project. Your support is critical and much appreciated.
