Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Backspace after '.'->'->' deletes wrong char

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
bwmat Posted - Mar 13 2018 : 4:46:06 PM
I've been encountering this bug for years in multiple versions of VAX & VS, but here's my information anyways:

2018.04.25
VA_X.dll file version 10.9.2223.0 built 2017.06.22
DevEnv.exe version 14.0.25420.1 Enterprise
msenv.dll version 14.0.25424.0
Comctl32.dll version 6.10.7601.18837
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64, WOW64)
Language info: 1252, 0x1009

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\8.1\Include\winrt;
C:\Program Files (x86)\Windows Kits\8.1\Include\shared;
C:\Program Files (x86)\Windows Kits\8.1\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.10240.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc;

Anyways, the issue seems to be caused by automatically-added ')'.

If I type "assert" and then hit the '(', VS/VAX will insert the closing ')' for me. If I then write the name of a variable of smart-pointer type (i.e. overriding operator->) and then press '.', VAX replaces my '.' with a '->'. I then press backspace in order to revert the '->' back into a '.', as usually works, but instead, my cursor remains in the same position, and the closing ')' which was added automatically earlier gets removed.
4   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Mar 14 2018 : 4:10:32 PM
Also, if you subscribe to this topic, you'll be notified when it's fixed because we update the threads where this is mentioned when the issue is fixed. This is one reason why we post the case numbers here.

The other reason is that you can check out all the fixed/implemented cases for a given build, which we post here:
https://support.wholetomato.com/default.asp?W404
feline Posted - Mar 14 2018 : 07:17:04 AM
Unfortunately our bug tracking database is not public, but you can ask here for an update on any given case number. This is in the list, but unfortunately that is all I can tell you about this one for now.
bwmat Posted - Mar 13 2018 : 7:18:55 PM
Yeah, I know I can disable it, but the cure is worse than the disease.

Is there some bug-tracking page for this I could bookmark?

Thanks,
Matthew w.
feline Posted - Mar 13 2018 : 4:59:43 PM
Thank you for the clear decription. Unfortunately this is a known bug, but we are aware of it, and it is on our list of things to fix, I just don't currently have an estimate for when it will be fixed:

case=91431

Are you aware that you can tell VA not to convert dot to -> for smart-pointer types? The two settings are:

VA Options -> Editor -> Convert dot to -> in C/C++
Convert dot to -> if operator -> is overloaded

which might help, if you encounter this a lot.

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