On Sun, 9 May 2010 22:17:42 +0200, Enrico wrote:
> On Sun, 09 May 2010 20:09:12 +0100, Ximin wrote:
>
> Hi,
>
> > make a new file called "test.java", then open it in geany. paste in:
> >
> > public void test() {
> > //}
> > System.out.println("hello, world");
> > }
> >
> > and try to fold the method definition to make it invisible (the [-]
> > button next to the line number). notice that it folds the method at
> > the commented-out brace, rather than at the actual end of the
> > method.
>
> this is a bug in Scintilla, the editing component used by Geany.
> Could you please report this issue against the Scintilla project?For reference, Ximin reported the issue at https://sourceforge.net/tracker/?func=detail&atid=102439&aid=2999043&group_id=2439. Thanks. As Neil said, this can be configured by a lexer property. Unfortunately, these can't be set in Geany 0.18.1. But with the upcoming 0.19 release this will be possible by adding the following lines to ~/.config/geany/fieldefs/filetypes.java: [lexer_properties] fold.comment=0 Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
signature.asc
Description: PGP signature

