[Geany-devel] question about snippets

Enrico Tröger enrico.troeger at xxxxx
Sun Jul 5 15:01:13 UTC 2009


On Sat, 4 Jul 2009 21:10:13 +0200, Andreas wrote:

Hey,

>I'll have a look at the snippet code.
>Maybe better to try a separate plugin first ...

Or the other way round, I think it's doesn't really matter if you try
to implement it in Geany or as a plugin. Taking the working code and
port it into Geany from a plugin or port it from Geany into a plugin
shouldn't be that hard at all.


>On Sat, 04 Jul 2009 20:20:02 +0200
>Thomas Martitiz <s0523936 at htw-berlin.de> wrote:
>> The snippet code is, well, limited. I'm still waiting for the python 
>> plugin thing, so that we can import the gedit's snippet plugin :)
>
>Some questions:
>Is the gedit snippet plugin so great then?
>Can it do what I tried to describe (work with selected text)?

No idea. I don't use Gedit :).
Additionally, I doubt using the Gedit plugin with a possible future
Python interface will work out of the box. And adjusting it might be as
much work as implementing it from scratch. But I'm just guessing here,
didn't have a look at the Gedit thing at all.


>Gedit doesn't use Scintilla, right?

Nope. They use gtksourceview.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090705/37b74dad/attachment.pgp>


More information about the Devel mailing list