Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Enhancing syntax color can't work

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Robby Posted - Jan 09 2007 : 10:15:41 PM
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
15   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 30 2007 : 3:48:11 PM
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.
Robby Posted - Jan 30 2007 : 09:32:41 AM
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.
feline Posted - Jan 29 2007 : 09:20:16 AM
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.

feline Posted - Jan 26 2007 : 07:30:52 AM
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.
Robby Posted - Jan 25 2007 : 10:33:37 PM
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.

feline Posted - Jan 25 2007 : 08:44:31 AM
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?
Robby Posted - Jan 25 2007 : 02:57:58 AM
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.
feline Posted - Jan 24 2007 : 08:53:33 AM
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?
Robby Posted - Jan 23 2007 : 10:45:53 PM
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,
feline Posted - Jan 22 2007 : 11:39:45 AM
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.
Robby Posted - Jan 22 2007 : 08:41:35 AM
Yes,i did. because the default color can't been seen if i changed the backgroud to black.
support Posted - Jan 11 2007 : 01:43:13 AM
Are you changing settings for Text and Identifier?
Robby Posted - Jan 10 2007 : 10:56:23 PM
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
support Posted - Jan 10 2007 : 11:37:37 AM
Make sure you read about "Dark Backgrounds" at:

http://www.wholetomato.com/products/features/color.asp
feline Posted - Jan 10 2007 : 07:34:42 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000