Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Surround selection with / unselects text sometimes

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
tom_seddon Posted - Nov 01 2007 : 07:49:28 AM
To reproduce, activate "surround selection on /" and "format on paste".

1. Copy some commented-out text
2. Paste it somewhere such that it gets indented on paste
3. Select the pasted text, Shift+TAB until it's flush with the left margin
4. Press "/" to uncomment it

After step 4, the text is unselected!

It would be better to leave the text hightlighted. This would be consistent with "surround selection on /"'s usual behaviour, and allow one to rearrange the newly-uncommented code a bit more.

This bug gets me a lot when I'm rearranging code, for obvious reasons.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 01 2007 : 1:25:32 PM
I am seeing the same effect here. Thank you for the clear description.

case=9641

Depending on how you feel about the IDE's code formatting style, and the IDE you are using, you may find CTRL-A followed by "Format Selection", CTRL+K, CTRL+F helpful.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000