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
 Enhancing syntax color can't work
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Robby
Junior Member

10 Posts

Posted - Jan 09 2007 :  10:15:41 PM  Show Profile  Reply with Quote
in vs2003,if i change the defualt setting of the fonts and colors in vs2003,like black backgroud,white keyword...,then va'syntax color can't work. any solution?

Robby

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 10 2007 :  07:34:42 AM  Show Profile  Reply with Quote
which version of VA are you using?
was VA's enhanced syntax highlighting working before you changed the IDE colours?

Quite a lot of people here customise the IDE colour scheme, I know I do, and I do not have this problem. It may depend on exactly which change you have made.

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

support
Whole Tomato Software

5566 Posts

Posted - Jan 10 2007 :  11:37:37 AM  Show Profile  Reply with Quote
Make sure you read about "Dark Backgrounds" at:

http://www.wholetomato.com/products/features/color.asp
Go to Top of Page

Robby
Junior Member

10 Posts

Posted - Jan 10 2007 :  10:56:23 PM  Show Profile  Reply with Quote
It's 1543,
and it worked before i changed the ide colour
i'v already read about the "Dardk Backgrounds", i changed backbground to black and front text to be white.
all words are white,no diffrence between class and variables.MACRO words also white.
but if i changed the front text color to black( same with the backgroud color),va color enhancing works all right except little words,like InterfaceID etc(IID_XXX),this words become black ,and can't be seen.

Robby
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 11 2007 :  01:43:13 AM  Show Profile  Reply with Quote
Are you changing settings for Text and Identifier?
Go to Top of Page

Robby
Junior Member

10 Posts

Posted - Jan 22 2007 :  08:41:35 AM  Show Profile  Reply with Quote
Yes,i did. because the default color can't been seen if i changed the backgroud to black.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 22 2007 :  11:39:45 AM  Show Profile  Reply with Quote
Can you post the colours you have set Text and Identifier to in the IDE please?
Do you have:

VA Options -> Text Editor -> correction -> highlight matching {} and () using

turned on, and does it work?

Can you please go to:

VA Options -> About -> Copy Info

and paste the details (from the clipboard) into this thread. This will give us the basic information about your setup.

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

Robby
Junior Member

10 Posts

Posted - Jan 23 2007 :  10:45:53 PM  Show Profile  Reply with Quote
Text is white and backgroud is black.
Identifier: front text and backgroud both auto.this is same with text.
hightlight matching is turned on,and it works all right.
Copy Info:
VA_X.dll file version 10.3.1543.0 built 2006.12.19
VAOpsWin.dll version 1.3.4.1
VATE.dll version 1.0.5.5
DevEnv.exe version 7.10.6030.0
msenv.dll version 7.10.6030.0
Font: Verdana 13(Pixels)
Comctl32.dll version 5.81.4968.2500
Windows 2000 5.0 Build 2195 Service Pack 4
Single processor

Platform: Win32
Stable Includes:
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\include;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\include;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include\\prerelease;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\PlatformSDK\\include;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\SDK\\v1.1\\include;
E:\\WTL\\include;

Library Includes:
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\mfc;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\atlmfc\\src\\atl;
E:\\Program Files\\Microsoft Visual Studio .NET 2003\\Vc7\\crt\\src;

Other Includes:

That's all,
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 24 2007 :  08:53:33 AM  Show Profile  Reply with Quote
Using VS2003 SP1, VA 1544 running on win2k I have made the following changes here:

In the IDE options I set:
Text foreground = white
Text background = black
Identifier foreground = automatic (the IDE has changed this back to custom, which is white)
Identifier background = automatic

Font = Verdana, size = 13

VA syntax colouring is working perfectly for me.

If you press the button:
IDE tools menu -> Options -> Environment -> Fonts and Colors -> Use Defaults

does VA's enhanced syntax highlighting now work?
If so when does it stop working when you re-apply your custom colour scheme?

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

Robby
Junior Member

10 Posts

Posted - Jan 25 2007 :  02:57:58 AM  Show Profile  Reply with Quote
Oh,the default setting doesn't work all right.
See this pic:
[dead link]

The Class and variables are same color (first line: RECT rc).
variables should be grey according the va's setting.
varialbe m_wndLeft1 gets different color in different place in this sentence:
m_wndLeft2.Create(m_wndLeft1,rc,NULL,dwSplitStyle).

both IDE and VA are default setting.

Edited by - sean on Jan 23 2014 1:04:26 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 25 2007 :  08:44:31 AM  Show Profile  Reply with Quote
In the screen shot what is "SPLIT_NONINTERACTIVE"? This is purple, which is VA's default colour for Preprocessor macro's. However no colouring has been applied to "SPLIT_PANE_LEFT". They sound like they might both be #define's

Do you have a localised IDE or OS?
If you turn on syntax colouring for tooltips, listboxes, VA's wizard bar does syntax colouring work in any of these places?

If you turn on:
VA Options -> Text Editor -> correction -> highlight matching {} and () using
VA Options -> Environment -> Fonts and Colors -> Local symbols in Bold

do either of these have any effect?

Do you have the time to create a new default project and see if you get more reliable results there?

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

Robby
Junior Member

10 Posts

Posted - Jan 25 2007 :  10:33:37 PM  Show Profile  Reply with Quote
OK, i did what you say. create an default atl project, insert an simple atl object.
following two pictures might be help to understand!
[dead link]
define TESTMACRO and TESTMACRO2 are different.
local symbol "int test" is not in Bold.
matching {} and tooltip looks good.
Interface ID'color like IID_IMyVaColor isn't right.

second pic:

[dead link]
those two pictures are captured under the same va'settings.
_AtlModule actually is global variable,see first line.
class,struct or interface-name'color still same with variables.

both IDE and OS are Chinese.


Edited by - sean on Jan 23 2014 1:06:12 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 26 2007 :  07:30:52 AM  Show Profile  Reply with Quote
I am wondering if the Chinese characters in the files are confusing VA. Would it be possible for you to send me a copy of this test project, so I can test it here?

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 29 2007 :  09:20:16 AM  Show Profile  Reply with Quote
I have the project, thank you. Do you know which language I need to add to the OS to get the comments to display correctly? I have added "Chinese (PRC)" to my system, which shows the text in solution explorer correctly, but not the comments.

So far there are no display problems on my system.


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

Robby
Junior Member

10 Posts

Posted - Jan 30 2007 :  09:32:41 AM  Show Profile  Reply with Quote
Oh-?-?i only have Chinese IDE and OS.
try this:
choose "Adanced Save Option"(may not be the exactly words,translated from my chinese menu ) from "File" menu. change the pagecode to 936.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 30 2007 :  3:48:11 PM  Show Profile  Reply with Quote
So far I cannot reproduce this, even by changing the code page for saving the file. I will ask the developers, and run some more tests, to see if I can reproduce this.

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