Author |
Topic  |
|
bwmat
New Member

2 Posts |
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.
|
|
feline
Whole Tomato Software
    
United Kingdom
19137 Posts |
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. |
zen is the art of being at one with the two'ness |
 |
|
bwmat
New Member

2 Posts |
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
Whole Tomato Software
    
United Kingdom
19137 Posts |
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. |
zen is the art of being at one with the two'ness |
 |
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
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 |
Edited by - accord on Mar 14 2018 4:19:38 PM |
 |
|
|
Topic  |
|
|
|