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.
Using same source, PaintCanvas, as in issue 87999, right click in the editor and choose Reformat Code. All header comments at the top of the file are now blank lines.
Undo for Reformat Code also does not work correctly. You get the comments back, but the first line of the file now has several hundred space characters before the /* to start the header comment.
Cannot reproduce in actual build. I've checkout the modules and tried reformat but it works fine. Can you please attach the file?
Grab the sources to Imagine - http://imagine.dev.java.net - try it on the files in the ProjectUI project, like PaintCanvas or PaintTopComponent
I've tried it again and it sill works for me(controled by CVS diff). Have you changed some editor option?
No, it was a completely fresh build + userdir opened over an existing project.
I was unable to reproduce it. Actual reformat does not use generator code. No idea what is wrong, we plan to rewrite reformat to use pretty printer.
Because nobody else is able to reproduce, closing as WORKSFORME. -- If you are able to reproduce, please reopen with additional information.