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 - class name is not highlighted
Summary: class name is not highlighted
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 142379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-16 16:15 UTC by Lukas Jungmann
Modified: 2012-03-13 14:10 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 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