alanhamlett/gedit-folding — Issue #2: Alt + X not working properly - incorrect nesting
Author: Jemt
Created: 2011-12-17 10:15:55+00:00
State: open

Hi,

Pressing Alt + X is supposed to collapse the deepest block level. It doesn't nest elements properly. Example code:

class A
{
private $myvar = "";
}

class B
{
private function test()
{
echo "Hello world"
}
}

Pressing Alt + X twice will result in this:

class A
{
}

Class B is suddently nested in Class A.

I'm using gEdit 2.30.4 + gedit-folding released May 23 2011. More recent versions seems to be gEdit 3 only.