Author |
Topic |
|
speedfirst
Junior Member
14 Posts |
Posted - Feb 16 2006 : 10:05:48 PM
|
My version is 1418
In C# editor of VS.Net 2003
If I write like this:
this.fun();
fun is recognized as a method and its color is deep red. However, if I write:
fun();
fun is simply shown as black, just like normal text.
Is it a bug or a unsolved function? If it is latter, I think VAX should support this case in few next versions. |
Speedfirst |
|
support
Whole Tomato Software
5566 Posts |
Posted - Feb 17 2006 : 01:09:08 AM
|
We suspect VA X does not think fun() is valid in the content (whether that is right is an entirely different matter.)
If you click on fun(), does anything appear in our Definition field at the top of your source window? If not, that tells you VA X does not know the symbol.
The next thing we ask is.... does the problem occur with our latest build 1440? |
|
|
jpizzi
Tomato Guru
USA
642 Posts |
Posted - Feb 17 2006 : 02:02:04 AM
|
FYI, it works as expected in 1246. |
Joe Pizzi |
|
|
speedfirst
Junior Member
14 Posts |
Posted - Feb 17 2006 : 02:53:57 AM
|
When I click on fun(), the definition field shows this function's signiture indeed. Let's have a look example
From this image, we can see, GetSchemaTable is a method defined in this class(show in the bottom of the image). But the call of this method is black. However, when I hover the cursor on this invoking position, the tips's color is absolutely great.
Another problem in this image is that the color in the tip for a comment. My VAX color them just like method and variants. Maybe that's a problem.
By the way, I use a Simplified Chinese Editon VS.Net 2003. Is it the reason for all of above? Perhaps, I should taste 1440 right away.
|
Speedfirst |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Feb 17 2006 : 10:59:48 AM
|
The tooltip you see is produced by default Intellisense of the IDE. We suspect the IDE knows what the symbol is but not VA X. If you click on the symbol, the Definition field at the top of your source window tells you what VA X thinks the symbol is.
But.... since you have a lot of black, we assume something else is not working. We recommend you try build 1440, or press "Use Defaults" in Tools|Options|Environment|Fonts and Colors.
VA X colors tooltips produced by the IDE, and its own of course. VA X sees only the text within a tooltip -- completely out of context. VA X guesses at color within the tip and since there is no //, VA X has no idea the second line is a comment. |
|
|
speedfirst
Junior Member
14 Posts |
Posted - Feb 18 2006 : 01:25:34 AM
|
I download the 1440 and install it, unfortunately, nothing seems changed.
When I click on "GetSchemaTable", the definition shows:
Wired problem, isn't it. |
Speedfirst |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Feb 18 2006 : 01:36:41 AM
|
Make sure you have coloring enabled for "Source Windows" in our options dialog.
Try "Use Defaults" we suggested in our last post. |
|
|
|
Topic |
|