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 156617 - switch statement not being highlighted
Summary: switch statement not being highlighted
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 14:02 UTC by Lukas Jungmann
Modified: 2013-07-16 12:56 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 2009-01-12 14:03:05 UTC
-have a java file w/ switch statement and put cursor to position '|' like below:

        int i = 0;
        switch (i) {
            case 1:
                System.out.println("q");
                break;|
            case 2:
                System.out.println("s");
                break;
            default:
                System.out.println("def");
        }

=> switch keyword and statement's ending brace becomes highlighted

-do the same in a groovy file:

    switch (node) {
            case "customers" :
            click "links.customersExpander"
            break'|'
            case "dCodes" :
            click "links.dcodesExpander"
            break
            default:
            throw new UnsupportedOperationException("$node not implemented")
        }

=> nothing gets highlighted