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
 Find Reference Syntax Coloring bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

CliffyP
Senior Member

47 Posts

Posted - May 14 2019 :  11:36:43 AM  Show Profile  Reply with Quote
See picture:






First time I have seen this happen, but it is at least reproable on this symbol.

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 15 2019 :  10:18:00 AM  Show Profile  Reply with Quote
Very strange. I am seeing the same effect here. Just to double check, are you seeing any syntax colouring problems in the cpp file, for line 301? I am not, it is only showing up in the Find References Results window here.

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

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 15 2019 :  11:30:34 AM  Show Profile  Reply with Quote
I have managed to simplify this right down, its not due to Unreal, its just somehow triggered by one of the string parameters. Really surprising, but there we go. I have put in a bug report for this:

case=140343

So you are unlikely to run across this to often, but if you do, I would be interested to know about it

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

CliffyP
Senior Member

47 Posts

Posted - May 17 2019 :  2:33:40 PM  Show Profile  Reply with Quote
Found another case:



Actually there are two problems in the coloring, the one specific to the find references is that exclamation point in front of OpacityMask.

The other problem with the coloring is incorrectly colorizing OpacityMask as a define/macro when it is actually a member variable and is supposed to be colored teal.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
15984 Posts

Posted - May 20 2019 :  11:40:37 AM  Show Profile  Reply with Quote
Definitely a situation where drawing arrows on the screen shot to point at the points of interest would have helped

I am seeing the bug with the ! being coloured the same as the symbol it is pressed up against, and I have put in a bug report for this:

case=140445

I suspect I have never noticed this before since the colour difference is not that obvious in my normal colour scheme.

No sign of OpacityMask being coloured as a macro though. Which version of Unreal Engine are you working with? I have just installed UE 4.22.1, in case it was due to a change since UE 4.20, which I already had installed, but I am still not seeing the problem.

If you open VA's Find Symbol dialog and filter on ".OpacityMask.", to get a whole word match, what results show up?

Doing this test here, in a new, default Puzzle project created with UE 4.22 I am seeing 3 results only, when I turn Off:

Find Symbol dialog -> Only classes, structs & namespaces

all three are inside my UE stable include directories. Two are variables and one is an enum. Which is where the problem is probably starting to come from. The same symbol is both a variable and an enum, so it's not always clear to VA which colour it should be given, especially since our syntax highlighting code has to run very quickly to keep up with scrolling and moving through your code.

Still, I am not sure why I am seeing a different result to you.

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:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000