FIXED: Uncomment Block does not recognise manually entered comments

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
yereverluvinuncleber
Posts: 367
Joined: 20 Apr 2018 09:49

FIXED: Uncomment Block does not recognise manually entered comments

Post by yereverluvinuncleber »

I have code with a lot of manually entered comments and when I use Format - Add Remove Comments or the Block Comments button it does not recognise manually entered comments. It will not remove those already extant, specifically those not entered at the beginning of a line.

Uncommenting this will work/:

Code: Select all

//				anemometerWindow.visible = false;
Uncommenting this will not:

Code: Select all

				// anemometerWindow.visible = false;
The code I am working with has a lot of the comments in the latter position.

I am using javascript and the commenting in and out using RJTextEd is generally working well but only when using the comments that have been added at the very beginning of the line.

If I have a line of code that is already has a commented at the code start then a click to remove that '//' just adds another pair.
"Noli pati a scelestis opprimi"... or is it "non lacessit illegitimae te carborundum"?

You can find me on Deviantart https://www.deviantart.com/yereverluvinuncleber/gallery/
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: BUG: Uncomment Block does not recognise manually entered comments

Post by Rickard Johansson »

Changed the behavior in next release (v15.20). Thanks!
Post Reply