Re: [gedit-list] GtkSourceView Popup



On Sat, 2007-03-17 at 11:20 +0100, Paolo Maggi wrote:
> I think we need an interface "AutocompletionSource" that the various
> autocompletion sources must implement.

Maybe I'm a bit old school, or just like simplicity and coherency with
existing stuff, but what about a simple "autocompletion-populate"
signal ? It would be damn simple to extend an object to listen to it (no
need for inheritance), and the interface you describe is mostly an
observer anyway.

An interface to implement, and objects to registers, etc, just looks
like overdoing things, and most likely will be annoying to use (new
gobjects to create, etc)...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]