Some Ruby code won't fold correctly in Geany.
For example, if I have
validate(["a", "b", "c"])
then folding the if folds too much.
What I expected to happen: when folding on the if, the "end" correponding to the end of the "validate" method is visible.
What happened instead: when folding on the if, the "end" corresponding to the end of the "validate" method is not visible.
As evidence that what I expected to happen is correct, if you change :empty? into :"empty?", I get the expected behavior.
This happened on Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64.
I've also reported this on the bug tracker for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/geany/+bug/1337015
I haven't tried replicating the issue on more recent versions of Geany.