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 233894 - Editor loose format in CASE statement
Summary: Editor loose format in CASE statement
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 235477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-03 15:54 UTC by ecerichter
Modified: 2013-09-04 07:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
<no description> (17.82 KB, image/png)
2013-08-03 15:54 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-08-03 15:54:09 UTC
Product Version = NetBeans IDE Dev (Build 201307282300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

When using the Java editor, I hit Shift+Ctrl+F to format the code.
If there is a "if" statement inside a "case", the format is broken.
See attached screenshot for reference.
Comment 1 ecerichter 2013-08-03 15:54:52 UTC
Created attachment 138230 [details]
<no description>
Comment 2 Jiri Prox 2013-08-05 14:18:49 UTC
reproducible
Comment 3 Dusan Balek 2013-08-09 16:51:53 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/b16b07e31915
Comment 4 Dusan Balek 2013-09-04 07:51:13 UTC
*** Bug 235477 has been marked as a duplicate of this bug. ***