[gedit-list] GtkSourceView Completion



Hi all,

I have refactored the code and cleaned some issues:

1.- GtkSourceCompletionData: now is GtkSourceCompletionItem and it isn't a
GObject, only a boxed type.

2.- Events are in a separate file called gtksourcecompletion-events.c. There
are two implemented events: user request event and autocompletion event.

3.- GtkSourceCompletionPopup is now GtkSourceCompletion

4.- Renamed some variables.


I have attached a gedit plugin using the completion mechanism. with only a few
lines, we can create a provider and activate the completion support.

This plugin is very simple, only shows constant data in user request event and
use the priority feature. It use autocompletion event too, showing some lines
with the actual word.

You can get the source code from: 
http://bugzilla.gnome.org/show_bug.cgi?id=454796

I hope you like it and we can add it to GtkSourceView package. 

If not, you can tell me it and I will create a new package with this
feature (an others)

Regards,
	Chuchi




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