Selection-uncomment uncomments next comment!

Gustavo

Member³
I have sent the code to support email.

I use Ctrl-Shift-\ to uncomment.

There is a comment block in lines 103 through 109.

1. Place the cursor anywhere in lines 103 through 107: uncomment works fine.

2. Place the cursor in line 108 and try to uncomment: nothing happens.

3. Place the cursor in line 109 and uncomment: the next comment block will be uncommented (between the 2 procedures) !!!

If I add text before the 1st procedure (code and comments), behaviour changes:
a. Only 2 1st lines uncomment;
b. Next 2 lines do nothing;
c. Other lines uncomment next block.
 
Wow, that was fast! :D

I think I'd like to know the cause more than I'd like the pre-release patch.

Or maybe I change my mind, depending on how easily this is reproducible. ;)

Regards,
Gustavo
 
The cause is that there was an error determining where in a comment you are located. The further down you are in a source, the more it is off.
 
Considering that the sample code I sent you is not that big, a guess a pre-release would be welcome, as I usually work with packages with thousands of lines.

Thx again!
 
Back
Top