Page 1 of 1

FIXED: Uncomment Block does not recognise manually entered comments

Posted: 26 Sep 2021 12:13
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.

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

Posted: 27 Sep 2021 18:38
by Rickard Johansson
Changed the behavior in next release (v15.20). Thanks!