[Geany] Snippets in Geany ?

kib2 kib2 at xxxxx
Mon Oct 22 18:04:17 UTC 2007


Nick Treleaven a écrit :
>
> I just watched the video - it might be interesting to see the code, 
> although it probably wouldn't help much for Geany (e.g. C vs. Python, 
> Scintilla vs. whatever Qt uses).
>
> I think this would be a nice feature for Geany [but I won't work on it 
> at the moment].
>
Hi Nick,

The fact that it's coded in Python vs C for Geany does not really matter 
I think.
The algorithm I found is really simple. I did some others before , 
calculting much things.
It can be improved by providing a real parser, not one based on regexps 
because you'd have
difficulties parsing nested placeholders.

Now, there's little calculus involved. Scintilla or Qt or whatever would 
do the rest, it's even simpler with Scintilla
I think because I had to code by hand Qt4 methods like Scintilla's 
WordLeftExtend().

If you want to test it, I've uploaded yesterday a beta version of one of 
my app using it here :
http://kib2.free.fr/reSTinPeace

regards,

Kib.

> Regards,
> Nick
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany
>
>




More information about the Users mailing list