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 155574

Summary: class name is not highlighted
Product: groovy Reporter: Lukas Jungmann <jungi>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2008-12-16 16:15:02 UTC
package b
import a.A
class B| extends A {}

=>
 expected: B is highlighted
 actual: nothing is highlighted
Comment 1 Petr Hejl 2009-05-20 16:01:02 UTC
Token is evaluated as whitespace so nothing is highlighted :( Should be solved together with issue 155573.
Comment 2 Martin Janicek 2011-12-12 12:30:42 UTC
Still valid issue. There is generally problem with highlighting end of tokens. For example when trying:

package groovy

class B extends GroovyClass {
    
    private void something() {
        int i| = 0;
    }
}

=> Variable i isn't highlighted. Same Problem is with class name here.
Comment 3 Martin Janicek 2012-02-21 14:27:07 UTC
*** Bug 142379 has been marked as a duplicate of this bug. ***
Comment 4 Martin Janicek 2012-03-11 13:27:17 UTC
I've created separate issue 209432 for the second example (local variable isn't highlighted correctly).
Comment 5 Martin Janicek 2012-03-12 09:38:20 UTC
Fixed in: web-main #d0b5ee332084
Comment 6 Quality Engineering 2012-03-13 14:10:20 UTC
Integrated into 'main-golden', will be available in build *201203130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d0b5ee332084
User: Martin Janicek <mjanicek@netbeans.org>
Log: #155574 - class name is not highlighted