Author |
Topic |
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 14 2007 : 7:24:06 PM
|
This is happening in Visual Studio 2008 B2
Notice the WriteLine is differently colored then the other WriteLine.
|
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 14 2007 7:38:42 PM |
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 14 2007 : 7:34:09 PM
|
Update!
I downloaded the latest beta buid 10.4.1611 and things get even weirder!
Here is what I get now.
The "r" on that line seems to have been replaced by and 's' and the "." by a "0". ONLY on that line!!
If I switched to the "consolas" font:
All seems to be in order, even the coloring.
|
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 14 2007 7:36:18 PM |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 14 2007 : 7:55:24 PM
|
By the way the font I am using is the one discussed in the other thread: "Envy Code R VS". The Non "VS" version doesn't seem to have those artifacts. But it has a few issues on its own!
Like the following:
The "DDDDDD" you see in that picture is not "D" at all. It is supposed to be the " " space character. Now matter how many time I delete these "D" and type space. All I get are "D"s.
|
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 14 2007 7:58:46 PM |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 15 2007 : 12:37:34 AM
|
I must add that after switching to that font I find it extremly hard to go back to consolas! It is so much cleaner and clearer than consolas, my eyes are dancing of joy.
Please fix the issues with that font, oh pretty please :) |
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 15 2007 12:38:13 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 15 2007 : 12:46:46 PM
|
Bold text and Envy Code R is covered by:
case=8929
and should be fixed in the next build. I really don't know what impact it will have on all of this, I did not see that many problems when I tried the font.
The original post in this thread, using VS2008 B2, VA 1609, and a C# file I added the following code to a class:
void testColourWriteLine()
{
Console.WriteLine("Unsorted List:");
// print out unsorted list.
foreach (Person p in List)
{
Console.WriteLine(p.ToString());
}
// Sort the list.
list.BubbleSort();
Console.WriteLine(String.Format("{0}Sorted List:", Environment.NewLine));
// print out the sorted list
foreach (Person p in List)
{
Console.WriteLine(p.ToString());
}
}
And I am seeing this:
Most of the underlining is expected, since my project does not contain the correct classes / using statements, etc. However note that all instances of write line look correct for me.
If you copy / paste my code into a new C# file what happens to the colouring of WriteLine? |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 15 2007 : 12:51:30 PM
|
feline,
It seems to me that you are not using the Envy Code R font in these pictures.
I think the coloring issue is somehow related to the "Envy Code R", although I fail to see how a font can affect the coloing of VAX.
I will try tonight to copy the code in a different c# file and post my results. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
DamienG
New Member
United Kingdom
7 Posts |
Posted - Oct 15 2007 : 2:07:26 PM
|
Well the 'VS' version of Envy Code R is a hack. It has an italic font masquerading as a bold - I'm not surprised there are some issues.
If you get problems with the non-VS version then that's a different matter however bear in mind this is my first ever scalable font so the problems could well be mine and not Visual Assist X's.
[)amien |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 15 2007 : 3:36:26 PM
|
I don't see these issues with your font when VAX is disabled, and I don't have these issues with VAX when using another font. So it is really a combination of both.
Damien, would you able to download a copy of the latest VAX and try it out to see if you get these issues resolved?
I understand that the bold is a hack and it is really italic disguising itself as bold.
Yes, the non "VS" one is giving me issues as well. Please look at the picture in my 3rd post. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 15 2007 3:38:37 PM |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 15 2007 : 3:40:37 PM
|
If the problem really is font specific then I would prefer to wait for the next build (due in the next few days) before commenting, since that build should contain the fix for matching brackets failing in this font.
Having said that, I don't see why the font would have an effect like this, although it is possible. |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 17 2007 : 11:02:08 PM
|
Feline, I just did the copy&paste test, and it is still the same.
There is corruption on the chacracters. When I disable VAX, the corruption goes away!
Another test I did is that I disabled ONLY the "enhance syntax coloring" option and that did NOT fix the issue, but when I disabled VAX, the text was properly rendered. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 18 2007 : 08:33:27 AM
|
If you are feeling brave you could try VA 1612:
http://www.wholetomato.com/binaries/VA_X_Setup1612.exe
This is currently working through internal testing, and may or may not be posted officially. It does contain the font fix, so readable text is probably better than any regressions you might find |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 18 2007 : 10:11:34 AM
|
Thank you! :)
I will try that tonight at home and report back my findings. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 18 2007 : 7:19:49 PM
|
It turned out that I have already installed that build yesterday, and it did NOT fix all the issues with the font.
I will attach a video of the issue later. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 18 2007 7:37:20 PM |
|
|
Sasa
Tomato Guru
272 Posts |
|
holedigger
Whole Tomato Software
145 Posts |
Posted - Oct 19 2007 : 04:55:48 AM
|
Can you try using the Envy font in VS2005? It looks ok to me using 1612 on Vista.
I'm downloading VS2008 now to try it there...
|
Whole Tomato Software |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 20 2007 : 11:03:12 AM
|
holedigger, I am afraid I cannot try it on VS2005. I have that uninstalled because I am using C# 3.5 language feature that are currently supported by VS2008.
I will see if I can do something at work. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 20 2007 : 1:58:44 PM
|
I am starting to get a little confused. Lets go back to basics.
I have a winXP machine with VS2008 Beta 2 installed. I installed just the three font files from the "original" version of the font (downloaded when the problem was first reported) - so ignoring the fonts in the "Visual Studio italics" directory.
Inside VS2008 I have selected the font "Envy Code R"
With VA 1609 bold { } brackets show the wrong characters. With VA 1612 bold { } brackets show correctly.
I am not seeing any problems with spaces or tabs with either version of VA.
How close is this to what you are seeing?
Once we have readable characters worked out we can go back to thinking about the colour of function calls, readable characters is probably a bigger concern |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 22 2007 : 10:40:34 AM
|
Doing this step by step. I deleted the old version of the fonts, and installed the new version of the fonts, installing all 5 font files.
VA 1612, VS2008 is set to use the font "Envy Code R", everything looks fine using my standard test project, in both C++ and C#
Now install the settings file. The colour scheme has changed quite a lot, still using my standard test project. In C# and C++ matching brackets are now shown in Italic, not bold. From this thread http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6679
quote: Originally posted by DamienG
"Envy Code R" consists of three styles, regular, bold and italic.
"Envy Code R VS" is "Envy Code R" renamed and contains the regular style as normal but also the italic version of the font with all the header information set as bold so that any application trying to use "Envy Code R VS" in bold will in fact end up rendering italic.
Going into IDE options, and yes, the IDE is set to use "Envy Code R VS" font, so italic brackets are correct.
I am seeing this interesting effect though:
note that one comment line is in italics, and one is not. This is in a C# file, and reminds me of this FAQ entry:
http://docs.wholetomato.com?W144
Now to load the solution you linked to.
Which solution are you using? I have opened the files:
c:\\src_2008\\log4net-1.2.10\\examples\\net\\1.1\\Tutorials\\ConsoleApp\\cpp\\src\\ConsoleApp.cpp C:\\src_2008\\log4net-1.2.10\\src\\Layout\\RawPropertyLayout.cs
somewhat at random, and the problem only shows up in the second file. I picked this file based on your screen shot movie.
Go into the IDE font options, and notice that both "Comment" and "XML Comment" have the "bold" checkbox ticked. Change the font from "Envy Code R VS" to "Envy Code R" and the font problem changes.
Are you only seeing this problem on comment lines, or on code lines as well? With VA disabled and using the "Envy Code R" font I am seeing this for comments:
notice that bold and non bold are intermixed. The fact that your chosen font claims to be bold when it is in fact italic is not helping, but there is certainly something strange going on here.
Still no sign of the corrupt white space characters either. Are you still seeing those? |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 22 2007 : 10:53:22 AM
|
quote: Originally posted by feline Still no sign of the corrupt white space characters either. Are you still seeing those?
No, I don't see corrupt white spaces anymore either.
Most corruption happen on that bolded /// XML comment line, but I did see some corruptions as well (same type as the /// corruption) in the code itself, but at fewer occasions that the comments. As soon as I spot an anomaly in the code, I will post it.
The "non VS" font is even worst for me. I will produce another video this evening.
When I disable VAX, everything goes back to normal. |
C++ Visual Studio 2008 Pro Windows 7 x64
|
Edited by - Sasa on Oct 22 2007 12:20:29 PM |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 22 2007 : 11:07:23 AM
|
I have managed to reproduce the corrupt white space here, in both VS2005 and VS2008. I have re-opened:
case=8929 |
zen is the art of being at one with the two'ness |
|
|
Sasa
Tomato Guru
272 Posts |
Posted - Oct 22 2007 : 12:21:24 PM
|
Feline, does 8929 also involves the corrupted characters as well besides the white space? |
C++ Visual Studio 2008 Pro Windows 7 x64
|
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 22 2007 : 1:20:04 PM
|
I have listed them in the case since I suspect it is all the same problem. I was able to reproduce the corrupted characters in comments, but it was actually harder than getting the white space showing up as 'D' characters. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 05 2007 : 6:43:07 PM
|
Case=8929 is fixed in Build 1623. |
|
|
|
Topic |
|