Author |
Topic |
|
williamx
Junior Member
China
15 Posts |
Posted - Feb 04 2004 : 02:53:14 AM
|
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
|
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 |
|
|
aWu
Starting Member
1 Posts |
Posted - Feb 04 2004 : 07:32:22 AM
|
i got the appearance too. i think it's a bug. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Feb 04 2004 : 10:53:59 AM
|
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. |
|
|
williamx
Junior Member
China
15 Posts |
Posted - Feb 05 2004 : 01:31:00 AM
|
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? |
|
|
support
Whole Tomato Software
5566 Posts |
|
williamx
Junior Member
China
15 Posts |
Posted - Feb 05 2004 : 9:11:34 PM
|
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 |
|
|
|
Topic |
|