[gedit-list] GtkSourceCompletion



Hi all,

I'm trying to introduce GtkSourceCompletion to GtkSourceView. 

GtkSourceCompletion is a set of objects that add completion support to
GtkSourceView. 

First there are an object GtkSourceCompletionPopup. It is a GObject that
manage all the completion events. This object creates the widget where
the user see the completion items and manages some default events. This
object not complete anything, you must register a
GtkSourceCompletionProvider and the popup will call it when it needs
show completion items to the user. 

The Idea is to have various providers like autocompletion, snippets,
symbols etc. but the popup only use them to show data to the user. You
can implement GtkSourceCompletionProvider, develop a lot of different
providers and register all into the popup.


You can take a look at:

http://live.gnome.org/GtkSourceView/GtkSourceCompletion

And:

http://bugzilla.gnome.org/show_bug.cgi?id=454796

If you want to tell me some improvements, problems, changes etc, please
make me know.






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