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
 Syntax highlight fails for "operator" and "using"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 02 2015 :  03:04:18 AM  Show Profile  Reply with Quote
Uploaded screenshot says it all. There are two problems:

1. operator keyword is highlighted everywhere except text editor
2. using declaration inside a class is not recognized as user-defined type

VAX settings: https://www.dropbox.com/s/fdbyxy1gjp62m91/20150102115747.reg?dl=0
Visual Studio settings: https://www.dropbox.com/s/23zuk0eoj0kp0yl/Exported-2015-01-02.vssettings?dl=0

VAX info:
VA_X.dll file version 10.9.2052.0 built 2014.11.05
DevEnv.exe version 12.0.31101.0 Ultimate
msenv.dll version 12.0.31101.0
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64, WOW64)
Language info: 1251, 0x419


accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 05 2015 :  09:29:49 AM  Show Profile  Reply with Quote
1. I wasn't able to reproduce the operator== highlighting problem. Can you please try creating a clean new win32 project to see if you're able to obverse the same effect using a simplified code snippet?



2. I am seeing the same effect here. I have put in a bug report for this:

case=87178
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 05 2015 :  10:50:29 AM  Show Profile  Reply with Quote
Here is the link to the complete solution: https://www.dropbox.com/s/gklf7bd7kaha7z2/VAXSyntaxHighlightBug.zip?dl=0

See below how Card.h is displayed in my editor. Note the same effect for operator(). I tried to rebuild symbols databases with no success.


Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 05 2015 :  11:02:24 AM  Show Profile  Reply with Quote
Some info on the effect: "operator" keyword has proper blue color a few seconds after it is typed. But then it turns black. And the moment it turns black, the "==(" part of the text moves a few pixels to the left. Please, see the video: https://www.dropbox.com/s/9ejox69e9rgtncf/ScreenCapture_1.flv?dl=0

Here I select the line, cut it and paste it back.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 07 2015 :  11:49:27 AM  Show Profile  Reply with Quote
Can you please try disabling the following setting by setting it to"true"?

Tools -> Options... -> Text Editor -> C/C++ -> Advanced -> Disable Semantic Colorization
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 07 2015 :  12:15:51 PM  Show Profile  Reply with Quote
This helped! Interestingly, there are a number of C++ related display items under Tools -> Options -> Fonts and Colors, but most of them seem to be overridden by VAX, except this one.

How do you suggest, is disabling semantic highlighting a valid fix for the issue?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 13 2015 :  4:39:52 PM  Show Profile  Reply with Quote
First, I wanted to see if it works. Since it does, it can be considered a workaround, but it should work without disabling this option. Sometimes the color priority gets messed up in Visual Studio so the below steps might help even without disabling this setting. You can try the steps or leave it as it is now, if you're satisfied with the results.

The steps:
1. re-enable the mentioned setting by changing the follow option to false:
Tools -> Options... -> Text Editor -> C/C++ -> Advanced -> Disable Semantic Colorization

2. disable VA in Tools -> Extensions and Updates.
3. restart VS.
4. exit vs.
5. start VS.
6. enable VA in Tools -> Extensions and Updates.
7. restart VS.
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 17 2015 :  05:17:01 AM  Show Profile  Reply with Quote
This approach does not work for me.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 19 2015 :  7:40:53 PM  Show Profile  Reply with Quote
Are you satisfied with Disabling Semantic Colorization? If it works for you without side-effects, then it should be a good solution.

Edited by - accord on Jan 19 2015 7:41:18 PM
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Jan 20 2015 :  02:16:32 AM  Show Profile  Reply with Quote
Mostly, I'm satisfied. The only inconvenience is, again, the bug with not parsed "using" directive. Previously, aliases declared with using were highlighted by semantic colorization. Now they are black.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 20 2015 :  4:06:30 PM  Show Profile  Reply with Quote
case=87178 has a very high priority so should be fixed fairly soon.

Edited by - accord on Jan 20 2015 4:07:58 PM
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Feb 23 2015 :  07:01:42 AM  Show Profile  Reply with Quote
The new build is ready, but I don't see the fix.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19137 Posts

Posted - Feb 23 2015 :  1:21:14 PM  Show Profile  Reply with Quote
Unfortunately this has not yet been fixed. We are hoping to get to this soon, and it is down as very high priority, but unfortunately this is not the only bug report we have to consider and work on.

This thread should be updated when this has been fixed.

zen is the art of being at one with the two'ness
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Apr 16 2015 :  3:59:55 PM  Show Profile  Reply with Quote
Another build is out, this "very high priority" issue is still not fixed. Do you have any public road map? I just wonder how many issues above "very high priority" do you have :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19137 Posts

Posted - Apr 16 2015 :  4:25:34 PM  Show Profile  Reply with Quote
Apologies for this, we are looking into this, but it is not quite as simple as it first sounds.

No, we don't have a public road map, but I can tell you that the one reason a bug is even more urgent are that it involves crashing the IDE - thankfully very rare but it does happen. After that prioritising bugs is not straight forward, but we try and balance how many people seem to be effected, along with how many problems the bug is causing.

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