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 189839

Summary: Toggle Comment / Toggle Uncomment is Broken in v.6.9
Product: ruby Reporter: kirkhoward
Component: EditingAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: normal CC: dstrupl
Priority: P3 Keywords: USABILITY
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description kirkhoward 2010-08-25 12:29:48 UTC
When I use CTRL+C to Toggle Comment, the functionality is BROKEN if you perform the following sequence:  COMMENT CODE(CTRL+SHFT+C), FORMAT (ALT+SHFT+F), COMMENT CODE(CTRL+SHFT+C).

Undo Comment is broken when there are spaces before the "#" character on a line:
# THIS IS A COMMENT
    # THIS IS AN INDENTED COMMENT #This Type will not untoggle due to the preceeding spaces.



Product Version = NetBeans IDE 6.9 (Build 201007282301)
Operating System = Linux version 2.6.32-24-generic running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01
Comment 1 David Strupl 2010-08-31 07:52:05 UTC
What language are you talking about?