[BLUEJ-244] Scope doesn't repaint if you de-indent a method which has a class variable before it.
If I have my class as below, and I de-indent the 'method', the scope highlighting before it will become completely white, and will only fix itself with update calls such as pressing enter around the 'x', and also around the 'method'.
Just trying to re-indent the method doesn't achieve a repaint.
{noformat} public class Test { public int x;
public void method() {
}
} {noformat}
Note the same applies if you delete spaces before, it correctly removes the background colour as you go reduce it, but doesn't add it back when you put spaces back in.
Even after fixing there is the remains of the colour coming over the side of the editor window, and only goes away if highlighted.
Issue metadata
- Issue type: Bug
- Priority: High
- Fix versions: 3.0.1