[Geany-devel] folding problem

Nick Treleaven nick.treleaven at xxxxx
Sun Nov 7 13:24:07 UTC 2010

On Fri, 5 Nov 2010 20:30:53 +0000
WILLIAM FRASER <william.fraser at virgin.net> wrote:

> I've spotted what might be two problems with folding... They are
> demonstrated with the following line of Java code:
> Image[] AnnimationPics; //{picture number,delay in 10ths of a second until
> changes to next image}
> This line is marked as a folding point when it should not be.

This is fixed in current SVN.

> Firstly: the curly braces ought to be ignored as they are in a comment (it
> is coloured by the lexer as a comment)
> Secondly: even if it is not ignored there is a matching close brace for the
> open brace and so when you try to fold this line it should do nothing
> (instead it hides every line after this line, or crashes...)
> I am assuming that this a problem with folding, or is it the lexer?

A crash would be a bug in the Scintilla lexer, but Geany's Scintilla is
a bit old so it may have been fixed already.


More information about the Devel mailing list