Re: GtkSourceCompletion API Proposal

Johannes Schmid <[email protected]> Wed, 14 May 2008 10:49:07 +0200
Newsgroups gmane.comp.gnome.devtools,gmane.comp.gnome.apps.gedit
Message-ID <1210754947.9428.39.camel@idefix>
Hi!
> (..)
> GtkSourceCompletionDocumentWordsProvider
> 
> I think these names are very long. Currently this names uses Gtc
> namespace (GtkSourceCompletion):
> 
> GscCustomKeyTrigger
> ...
> 
>  Any idea about these names?

You will have have to use the longer names because Bindings will rely on
the currect namespaces and it would cause a lot of work to get it
working with the short names.

But maybe you can skip the "Completion" part of the namespace when it's
part of GtkSourceView anyway, and switch some words around:

GscDocumentWordsProvider > GtkSourceProviderDocumentWords
GscCustomkeyTrigger > GtkSourceTriggerCustomKey

This fits better with the current design of GTK+ (e.g.
GtkCellRedererText, GtkCellRedererPixbuf, etc.).

But please check this with the gedit/gtksourceview team. I would really
love to have this included in the next gtksourceview release.

Thanks,
Johannes

_______________________________________________
gnome-devtools mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devtools
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIKqeDAvZZn2XJ+bMRApCBAKCf3OpTiro+IXASSU/2d0cIcqX+dwCfRtVL
hOrbthm8mVHpPAC/5EMlsyI=
=+j8t
-----END PGP SIGNATURE-----