[Geany-Users] problem using geany.find in lua plugin

Frank Lanitz frank at xxxxx
Sun Mar 24 19:03:44 UTC 2013


Am 23.03.2013 02:51, schrieb pauriem at gmail.com:
> I installed geany and geanylua plugin for my ubuntu 12.04 64 bit
> system from the repository, version seems to be 0.22
> most scripts I write work fine but if I try to use geany.find
> function, geany crashes
> for instance, just the single line script
> 
> x, y= geany.find ("ab",1,4,{"matchcase"})
> 
> is a crash on a file with many lines of text in utf-8 encoding,
> regardless of whether "ab" is present in the specified range
> just wondering if this is a problem with how I am using the function,
> I would appreciate some examples of scripts that use find that work on
> geany 0.22

Can you run Geany within a gdb and provide the backtrace when this is
happening? A short howto can be found here:
http://geany.org/manual/hacking.html

Cheers,
Frank



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geany.org/pipermail/users/attachments/20130324/7e8e8b73/attachment.pgp>


More information about the Users mailing list