This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209432 - Local variable isn't highlighted if caret location is at the end of variable name
Summary: Local variable isn't highlighted if caret location is at the end of variable ...
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 13:26 UTC by Martin Janicek
Modified: 2012-08-15 10:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Janicek 2012-03-11 13:26:13 UTC
package groovy

class B {

    private void something() {
        int i| = 0;
    }
}

=> 
   Expected: Variable 'i' is highlighted
   Actual:   Nothing is highlighted
Comment 1 Martin Janicek 2012-08-15 10:24:43 UTC
The problem occurs only if there is direct variable declaration.

This is highlighted correctly:
"int whatever^"

But this is not:
"int whatever^ = 123"