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
 1233/VS.NET: () and closing )}]
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tom_seddon
Tomato Guru

162 Posts

Posted - May 08 2004 :  07:25:22 AM  Show Profile
"Insert closing )}]" is good. It works very well. Insert () on the other hand is over eager, and easily confused by variable declarations. This is not surprising, because they look a bit like function declarations:

Type var_name( param1, param2 );

Could these two options be separated? I'd like to have insertion of closing )}] turned on, but automatic insertion of the whole () turned off because it is so often wrong. A complete fix for the whole lot would be better yet :) but being able to turn off automatic () would do me fine.

support
Whole Tomato Software

5566 Posts

Posted - May 10 2004 :  8:25:37 PM  Show Profile
We do not understand your example.

Can you tell us what you type such that VA X inserts unwanted ()'s?

Whole Tomato Software, Inc.
Go to Top of Page

tom_seddon
Tomato Guru

162 Posts

Posted - May 11 2004 :  11:16:24 AM  Show Profile
I have this definition:

static ScreenStack screen_stack( &box_on, &box_stay, &box_off, options_rect );

I then type "scr", press Tab, and get this:

screen_stack()
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 11 2004 :  12:33:33 PM  Show Profile
Where is the caret? It should be between the parentheses. If not, click on screen_stack and tell us if the Defintion field is a dropdown with multiple entries. Any without arguments?

Whole Tomato Software, Inc.
Go to Top of Page

tom_seddon
Tomato Guru

162 Posts

Posted - May 11 2004 :  3:09:00 PM  Show Profile
Sorry, yes, the caret is positioned between the brackets, as if VAX thinks it's a function. The definition field has just one entry:

static ScreenStack screen_stack ( &box_on, &box_stay, &box_off, options_rect )
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 16 2004 :  8:30:05 PM  Show Profile
We can reproduce the problem. It occurs only with definitions at global scope.

ixBug=52

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