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. |
|
|