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
 Problem with symbol that begin with "operator"
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sir Zooro
Junior Member

Poland
15 Posts

Posted - Jun 21 2004 :  3:13:06 PM  Show Profile
Hello,

VAX 1237 incorrectly completes (after Tab) names that begins with
"operator". Try this:

struct Q {
        int operator_number;
};

Q qq;
qq.operator_number = 1;
/* VAX completes above as qq.operator operator_number */


Best Regards,
Sir Zooro

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 22 2004 :  07:30:16 AM  Show Profile
i am unable to reproduce this using VS .NET 2003 and VAX 1239

using your example in a cpp file i get as far as:
qq.op|

and i get a suggestion list box, complete with tomato icon, suggesting operator_number. accepting this with Tab or with Enter works correctly for me.

which IDE are you using? are you doing something different to me?

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

Sir Zooro
Junior Member

Poland
15 Posts

Posted - Jun 22 2004 :  4:46:54 PM  Show Profile
Hello,
It seems that this bug appear only when struct is in .h file.

VA_X.dll file version 10.0.1237.0
Licensed to:
VA X:
VA.NET 7.1: [email protected] (1-user license)
VAOpsWin.dll version 1.0.0.44
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.81.4916.400
WindowsNT 5.0 Build 2195 Service Pack 4
Single processor


Best Regards,
Sir Zooro
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 22 2004 :  5:56:48 PM  Show Profile
confirmed using .NET 2002 and VAX 1239, with a new un-named .h file in my current project.

qq.op|


pressing tab at this point to accept:



does in fact insert exactly what is shown in the box

this is a rather contrived example, but why would you want to type that outside of a function in a header file? i try to keep all of my code in my cpp files, it is easier to keep track of it that way.

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

Sir Zooro
Junior Member

Poland
15 Posts

Posted - Jun 23 2004 :  12:57:00 AM  Show Profile
Hello,
I found this bug when I worked on my current project. I choosed only most important lines. Whole example should be like this:

test.h

struct Q {
  int operator_number;
};

test.cpp

#include "test.h"

void f()
{
  Q qq;
  qq.operator_numer = 1;
}


Best Regards,
Sir Zooro

Edited by - Sir Zooro on Jun 23 2004 01:07:52 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 23 2004 :  05:33:40 AM  Show Profile
ah, well that answers one question

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

support
Whole Tomato Software

5566 Posts

Posted - Jun 23 2004 :  9:42:26 PM  Show Profile
case=143

Whole Tomato Software, Inc.
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