Re: [gedit-list] Is GtkSourceCompletionWords just an example Provider?
- From: "Curtis C. Hovey" <sinzui is verizon net>
- To: gedit-list gnome org
- Subject: Re: [gedit-list] Is GtkSourceCompletionWords just an example Provider?
- Date: Tue, 13 Sep 2011 00:45:15 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/12/2011 08:09 PM, Micah Carrick wrote:
> I'm trying to get a good grasp of GtkSourceCompletion for a plugin I'm
working on. Documentation is minimal so I'm mostly working from source
code of other projects. Couple questions...
>
> Every example I can find seems to use "gtksourcecompletionwords" which
I see in the GtkSourceView source under /completion-providers. Is this a
built-in provider which adds a proposal for every word in the
GtkSourceBuffer? In other words, if my completion items will NOT be
coming from the document, I don't need this, right? I just need to
implement my own Provider interface?
>
I think you might. Implementing one is cheap. I implemented one provider
with multiple way of generating the proposals.
http://bazaar.launchpad.net/~sinzui/gdp/trunk/view/head:/plugins/gdp/syntaxcompleter.py
- --
__C U R T I S C. H O V E Y_______
Guilty of stealing everything I am.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk5u39oACgkQnGlTRlchMn0NwwCg5oFUgfA+s6+OXbj7zU3ihynI
XDUAoOtSz4nVVsVS3crO4bKgdhSrnZr8
=at4F
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]