[Geany] Code folding doesn't work right.

Daniel Carrera dcarrera at xxxxx
Wed Aug 4 07:37:06 UTC 2010


On Wed, Aug 4, 2010 at 2:53 AM, Lex Trotman <elextr at gmail.com> wrote:
> Can you please provide more information to help repeat the bug, It
> doesn't happen for me.  Version of Geany, which language are you
> editing and steps to a repeatable example would be good.

Geany version 0.18 running on Ubuntu 10.04 Lucid, language is Perl.

I *JUST* figured out how to reproduce the problem. Up until 5 minutes
ago it looked random, but after additional testing, I found the cause:


1. Write a bunch of functions and fold them.
2. Somewhere above those functions, type a quotation mark:  "


You know that when you first type a quotation mark, the highlighting
is wrong until you close the quotation mark. Geany interprets that the
rest of the file is in quotes. The *PROBLEM* is that when this
happens, Geany decides to unfold everything, and when you close the
quote, Geany doesn't fold them back. In other words, Geany ruins my
folding every time I type a quoted string. :-(

I know about the auto-close-quote feature. I don't like it. I had it
for a while and I decided it was more annoying than useful. For
example, if I want to put quotes around an existing text, the
auto-quote feature actually gets in the way.

Daniel.
-- 
Intolerant people should be shot.



More information about the Users mailing list