Re: [gedit-list] gtide - gedit to IDEs (and beyond)
- From: Paolo Borelli <paolo borelli gmail com>
- To: gedit-list <gedit-list gnome org>
- Subject: Re: [gedit-list] gtide - gedit to IDEs (and beyond)
- Date: Mon, 28 Mar 2016 18:31:52 +0200
Hi Sébastien,
honestly I am not so convinced about adding yet another library.
The fact that we have to come up with cool names for the library itself, is a hint that the library does not have a well defined role.
If we have generic widgets they belong in gtk, if we have code editing utils they belong in gtksourceview, all the rest should be "glue" code specific to an application current UI design (gedit in this case) and having an external library with a stable API and ABI can get in the way of refactorings and incremental changes.
Even for plugin developers would be confusing: today it is already pretty bad that a plugin developer should keep asking himself:
"Ok I need this method to operate on the text file, where do I look? I guess in the GeditDocument documentation... uh, no... uhm, maybe in GtkSourceBuffer? Nope, nothing... ah, ok, found it, it is in GtkTextBuffer".
Splitting things in yet another small lib with its own namespace etc would make things worse.
Of course I know reality is not so black and white and I completely agree with your goal of making code reusable, so I apologize in advance if I sound too negative. My suggestion is to not focus yet on API stability and on the library infrastructure and to not spend time porting plugins, but instead first discover what would go in the library and then we can discuss together where it belongs and how to share it.
Ciao,
Paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]