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 236751 - "toggle comment" don't uncomment when there are empty lines
Summary: "toggle comment" don't uncomment when there are empty lines
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 10:39 UTC by franci
Modified: 2016-07-07 07:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description franci 2013-10-04 10:39:44 UTC
there is a wrong behavior for toggle comment when there is an empty line.

given the following text:

//        int x1;

//        int x2;
//        int x3;

it should toggle as:

        int x1;

        int x2;
        int x3;

but it toggle as:

////        int x1;
//
////        int x2;
////        int x3;
Comment 1 Martin Balin 2016-07-07 07:26:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss