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 194793 - Protected lines might need formatting too
Summary: Protected lines might need formatting too
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P4 normal with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 00:31 UTC by Chiana
Modified: 2012-08-29 17:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (47.59 KB, image/png)
2011-01-28 00:31 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2011-01-28 00:31:15 UTC
[ BUILD # : 6550on110127 ]
[ JDK VERSION : 1.6.23 ]

Protected lines sometimes makes the code look kinda weird...
A picture says more than a thousand words, screenshot supplied...
Comment 1 Chiana 2011-01-28 00:31:42 UTC
Created attachment 105425 [details]
Screenshot
Comment 2 Tomas Pavek 2012-08-29 17:40:13 UTC
There were a few bugs related to formatting the generated code fixed in 7.1 and 7.2. All the generated code should now follow the formatting options, including newly added event handlers methods (highlighted on the screenshot).

The only limitation is that the Format action does not reformat the guarded code. In such case some change must be made in the GUI form to provoke code regeneration.