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 - Toggle Comment / Toggle Uncomment is Broken in v.6.9
Summary: Toggle Comment / Toggle Uncomment is Broken in v.6.9
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@ruby
Depends on:
Reported: 2010-08-25 12:29 UTC by kirkhoward
Modified: 2011-01-28 20:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 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?