Some Ruby code won't fold correctly in Geany. A contributor to Geany states that this is a problem in Scintilla.
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 was using Geany 0.21.
A contributor to Geany states that this is a Scintilla problem:
Confirmed with Git Geany and latest SCITE.
This is a problem in the Scintilla editing component (www.scintilla.org), not Geany, as shown by its existance in Scite (which also uses Scintilla).
Please report the problem to Scintilla upstream.
The Geany bug report was at https://sourceforge.net/p/geany/bugs/1058/
I've also reported this on the bug tracker for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/geany/+bug/1337015
Log in to post a comment.