Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 _ after m and shift triggers when mouse-clicking
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

169 Posts

Posted - May 09 2025 :  06:00:08 AM  Show Profile  Reply with Quote
Ok this is a bit of an extreme edge case but I found it anyway :D

If "Insert _ after m and Shift" is enabled, while holding shift and clicking the mouse to select a region, if the location you click is after a single identifier 'm', it will replace the selection you just made with an underscore.

Say you have this line of code, where the caret is indicated by the |
foo(a, b, m, something|);


And then you hold shift and mouseclick to behind the m, like so:
foo(a, b, m|, something);


Visual Studio will then select the ", something" part as expected, but because you're holding shift and you're behind an 'm', Visual Assist will then insert an underscore, overwriting the selection. Result:

foo(a, b, m_);

feline
Whole Tomato Software

United Kingdom
19171 Posts

Posted - May 09 2025 :  1:11:42 PM  Show Profile  Reply with Quote
I am seeing exactly the same thing, thank you for the clear description. I have used inserting _ for years, and I don't think I have ever come across that before, so definitely an odd edge case, but also worth knowing about:

case=165847

Probably not something you will run into to often at least

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000