Bug 156617 - switch statement not being highlighted
switch statement not being highlighted
Status: NEW
Product: groovy
Classification: Unclassified
Component: Editor
6.x
All All
: P4 (vote)
: 6.x
Assigned To: Martin Janicek
issues@groovy
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo