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.
[ BUILD # : 201109180600 ] [ JDK VERSION : 1.6.27 ] Hi, when I comment an entire method which is currently folded in the editor, the commenting function does comment out only the first line of the method while it should comment all method lines. See attached pictures for more details. Gualtiero
Created attachment 110898 [details] The original method unfolded
Created attachment 110899 [details] The method folded
Created attachment 110900 [details] The method folded and commented out
Created attachment 110901 [details] The commented method unfolded (with errors)
reproducible, but IMHO P3
ACK, already reported. The defect is caused by various editor functions to respect document model (lines of text), but not visual appearance of the document (folding, ...). *** This bug has been marked as a duplicate of bug 100564 ***