Ticket #579 (closed defect: fixed)
Commenting/uncommenting comments the last unselected line
| Reported by: | azawawi | Owned by: | azawawi |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | editor | Version: | 0.57 |
| Keywords: | toogle comments | Cc: |
Description
Scenario:
- Open an existing Perl script
- Select two lines of code to comment
- press CTRL-Shift-C (Toggle comment)
Correct behavior:
Only the selected lines should be commented
What happens now (aka the bug):
The last unselected line is commented which is annoying
It also happens on Comment Selected Lines (Ctrl-M) and UnComment? Selected lines (Ctrl-Shift-M)
Change History
comment:2 Changed 4 years ago by azawawi
- Status changed from new to closed
- Resolution set to fixed
Fixed in r7897
comment:3 Changed 4 years ago by azawawi
- Status changed from closed to reopened
- Resolution fixed deleted
It does not work on win32
comment:4 Changed 4 years ago by azawawi
- Status changed from reopened to closed
- Resolution set to fixed
Finally fixed in r7947
comment:5 Changed 3 years ago by mateu
- Keywords toogle comments added
- Priority changed from major to minor
- Status changed from closed to reopened
- Resolution fixed deleted
- Version changed from 0.46 to 0.56
Looks like a regression. when I use CRTL-SHIT-C to toggle to un-commented two lines, the second line remains commented
comment:6 Changed 3 years ago by mateu
- Version changed from 0.56 to 0.57
This problem also occurs using CRTL-M, last line selected does not get commented.
Note: See
TracTickets for help on using
tickets.

And selection is also lost!