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
 autotext show ? in sourcecode
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

williamx
Junior Member

China
15 Posts

Posted - Feb 04 2004 :  02:53:14 AM  Show Profile
I tried the 1215 and after I typed 'if', I got:

	if (?
	{
	}

with the cursor flashing after '}'.

xMRi
Tomato Guru

Germany
315 Posts

Posted - Feb 04 2004 :  04:57:05 AM  Show Profile
After typing if you get a suggestion if you want to the template. If you press <tab> you will get it. This is in my eyes not a bug it is the feature of VA!

Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

aWu
Starting Member

1 Posts

Posted - Feb 04 2004 :  07:32:22 AM  Show Profile
i got the appearance too. i think it's a bug.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 04 2004 :  10:53:59 AM  Show Profile
You have checked the option to get suggestion listboxes. VA X is suggesting an "if" statement when you type "if". You must also have checked the option to accept suggestions with Tab. Pressing tab in this case tells VA X you want to accept a suggestion.

Lastly, the suggestion you describe is a fixed suggestion. It is "Autotext" and appears every time you type "if".

You might disable Autotext and keep suggestion listboxes. The suggestion for "if" will no longer appear. Unless you recently typed or have a nearby symbol named "ifMyVariable", VA X will not display any suggestion for "if".

You could also disable the option to accept suggestions with Tab. You will need to press Return to accept them.

Review the hovering tooltips in the Text Editor|Completion node of our options dialog. Then read the following pages:

http://www.wholetomato.com/x/products/features/suggestion.html
http://www.wholetomato.com/x/products/features/autotext.html

Whole Tomato Software, Inc.
Go to Top of Page

williamx
Junior Member

China
15 Posts

Posted - Feb 05 2004 :  01:31:00 AM  Show Profile
First, Sorry for my poor English!

I know this is a feature of VA and I like it.
But in early version, such as VA.net/VA 6.0, the autotext is
if ()
{
}
with the cursor flashing after '('.
So I think that is a bug, isn't it?
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 05 2004 :  11:32:36 AM  Show Profile
Do you have a non-English version of the IDE? We learned multi-byte versions do not like the default caretPosChar in our Autotext files. Try changing the caretPosChar.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=1355

Whole Tomato Software, Inc.
Go to Top of Page

williamx
Junior Member

China
15 Posts

Posted - Feb 05 2004 :  9:11:34 PM  Show Profile
Yes, the caretPosChar is the reason.

I use an English version of the IDE and an English OS of windows xp pro, but set the "Language for non-Unicode programs" to Chinese(PRC) in the control-panel, that led the problem.

Now, I changed the caretPosChar(0xA7) to 0x7C, that is OK.
But I think the default value should be changed.

Edited by - williamx on Feb 05 2004 9:13:11 PM
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