Author |
Topic |
|
kschaab
Tomato Guru
USA
118 Posts |
Posted - Mar 04 2004 : 5:59:16 PM
|
I'm not sure when this stopped working for me, but I've noticed that VAX has stopped underlying unknown symbols even though Underlined mistyped symbols using Red is selected. This appears to be happening to me in C++ and C#. Ignore if # of occurances in file is not selected. Just for grins I put in 70 anyway but it didn't seem to help. I also tried checking this box (with it set to 70) and that did not seem to help either. |
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Mar 05 2004 : 09:47:10 AM
|
Out of curiosity, do you have the IDE's "View Whitespace" enabled? That has always caused goofiness in red underlining for me in VC6...
|
|
|
kschaab
Tomato Guru
USA
118 Posts |
Posted - Mar 05 2004 : 12:37:24 PM
|
Whitespace is not visible at the moment but thanks for the suggestion. |
|
|
kschaab
Tomato Guru
USA
118 Posts |
Posted - Mar 16 2004 : 12:10:16 PM
|
Do I need to provide more information? This has not started working since I reported the problem. I'm currently using VAX build 1220. |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Mar 18 2004 : 12:10:46 PM
|
This is still broken in 1221 for VC6... here's an example:
void CAsmOutView::OnDraw(CDC* pDC)
{
CAsmOutDDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
} The blue symbol should be underlined in red, but is not. Reparsing, rebuilding, and cleaning don't help. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Mar 18 2004 : 12:46:28 PM
|
We assume you imply underlining does not work anywhere, not just in one example.
We cannot reproduce the problem. Underlining works for us in VC++ 6.0. We tried different fonts, sizes, background colors, w/and w/o italics, w/ and w/o whitespace, floating vs maximized, etc.
Forgive us for not remembering, but what font do you use?
We hate to ask [grovel, grovel], but does "Reset All" in Tools|Options|Format help? The command resets a bunch of variables internal to the IDE -- ones that VA X reads.
You might send us a zipped screen shot of your whole display. Maybe we can spot something we don't expect. |
Whole Tomato Software, Inc. |
|
|
LarryLeonard
Tomato Guru
USA
1041 Posts |
Posted - Mar 18 2004 : 1:58:38 PM
|
Weirdly, it works correctly in my Doc class file, and my CMainFrame file, but not my View class file.
I use Courier New 10pt, on a black background, like all right-thinking people.
I don't use VC6 anymore, so doing "Reset All" in Tools|Options|Format is no problem. Didn't help, though.
I've sent you an email with three things: a screenshot in the color-scheme I was using, a screenshot after I did the "Reset All", and the entire MFC project source code. It was just a temp thingy I created to test a unrelated bug that asmout reported a while back.
|
Edited by - LarryLeonard on Mar 18 2004 2:00:43 PM |
|
|
kschaab
Tomato Guru
USA
118 Posts |
Posted - Mar 18 2004 : 4:47:13 PM
|
To attempt to create the most simplest reproduction for you to look at I had underlining work for about ten seconds in C++ project described below. Then all underlines disappeared . I have courier new font size 9 set as the font, and I'm english-us. I tried use defaults but nothing seemed to get fixed. I will send projects, screenshots, registry keys, and log file to you zipped up in e-mail. I created two projects, one C# console application named ConsoleApplication2 with only the following code in created class file:
using System;
namespace ConsoleApplication2
{
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
UnrecognizedSymbol test = new UnrecognizedSymbol();
this.UnrecognizedFunction(test);
}
}
}
and a similar C++ console project with only the following code:
// This is the main project file for VC++ application project
// generated using an Application Wizard.
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int _tmain()
{
UnrecognizedType typeUnrecognized = new UnrecognizedType();
UnrecognizedFunction(typeUnrecognized);
// TODO: Please replace the sample code below with your own.
Console::WriteLine(S"Hello World");
return 0;
}
|
|
|
|
Topic |
|