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
 Dot gets replaced with an arrow on references
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dingweed
Senior Member

37 Posts

Posted - Mar 11 2004 :  11:43:32 AM  Show Profile
If I have a code like this

bool String::Compare(String& strToCompare)
{

Here I type
strToCompare.

and it gets replaced with

strToCompare->

}


Vey bad, very annoying.

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 11 2004 :  11:50:33 AM  Show Profile
Which IDE? VAX 1219, right? Re-parsing the file doesn't fix it, right? Can you post the declaration of the String class (if it's not private, of course)?
Go to Top of Page

dingweed
Senior Member

37 Posts

Posted - Mar 11 2004 :  1:31:00 PM  Show Profile
Sorry yes it is 1219. And reparsing does not help.

and declaration looks like this

class String
{
public:
bool Compare(String& strToCompare);
}



VA_X.dll file version 10.0.1219.0
Licensed to:
VA.NET 7.1:
VAOpsWin.dll version 1.0.0.40
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Terminal 13(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
2 processors

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

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

Other Includes:

Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 11 2004 :  1:44:28 PM  Show Profile
I can't reproduce this in VS.NET 2002.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 11 2004 :  2:21:46 PM  Show Profile
I can't either in VS.NET 2003... I wonder if it has anything to do with the class name being "String" - that just somehow feels like a "dangerous" class name. Can you try renaming your class to "DingString", and see if you get the same misbehavior?
Go to Top of Page

dingweed
Senior Member

37 Posts

Posted - Mar 11 2004 :  2:36:37 PM  Show Profile
It is not called String, I posted String for simplicity.

Also do you have Options\\Text Editor\\C/C++\\Convert dot to -> unchecked? If it's unchecked you will not be able to repro it. I think if it's checked then it should be smart and not replace reference dots to ->
Go to Top of Page

LarryLeonard
Tomato Guru

USA
1041 Posts

Posted - Mar 11 2004 :  2:45:15 PM  Show Profile
quote:
It is not called String, I posted String for simplicity.
The problem is that much of what VAX does involves the parsing of text; in a case when it isn't parsing correctly, posting the exact text is probably going to be necessary. Can you post the exact text that is failing for you?
quote:
do you have Options\\Text Editor\\C/C++\\Convert dot to -> unchecked?
No, I have it checked.
Go to Top of Page

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Mar 11 2004 :  3:38:41 PM  Show Profile
I tried MyString as well, and it didn't convert it.

Try posting a self-contained chunk of code that can be pasted into a file on its own to exhibit the problem.

Stephen Turner
ClickTracks http://www.clicktracks.com/
Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000