[BLUEJ-317] Incremental parsing problem (rare)
Create a class and enter the following code:
{noformat} class A {
} {noformat}
Then move the cursor into the class body and enter:
{noformat} public int x() {} {noformat}
So the class as a whole looks like:
{noformat} class A { public int x() {} } {noformat}
Finally, move the cursor before the "{" (after "class A") and press backspace.
Scope colouring will be wrong \- the whole class is shaded green.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.4