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
 Misrecognized symbols and Ctrl-Z
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

beylevem
Tomato Guru

102 Posts

Posted - Jun 11 2008 :  12:46:47 PM  Show Profile  Reply with Quote
I thought that at one point, one could use Ctrl-Z to undo a VAX change to a symbol - repair case, or abbreviation, etc. Currently, it doesn't seem to work. Hitting Ctrl-Z revert back to what you typed - but as soon as you type a space or comma, it "fixes" the item again - a major annoyance. I did a search and noticed that the same thing was reported in TOPIC_ID=7136.

For example, I am embedding idl in a .h file. I type
[out,
which immediately gets converted to
[OUT,
because VAX thinks it knows about "#define OUT()"
hitting ctrl-Z removes the comma, and then hitting ctrl-Z again reverts OUT to out, but there is no way to insert a comma without the symbol change occurring again.

The only way is to type the comma first, and then back up and type the symbol.

VA_X.dll file version 10.4.1640.0 built 2008.05.22
DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Font: Consolas 15(Pixels)
Comctl32.dll version 6.10.6001.18000
Windows Vista 6.0 Build 6001 Service Pack 1
2 processors

Platform: Custom
Stable Includes:

Other Includes:

Stable Source Directories:

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 11 2008 :  3:20:19 PM  Show Profile  Reply with Quote
When this happens, you are probably see a suggestion listbox. Suggestion listboxes are VA's best guess at what you might be typing. Member listboxes appear after typing a dot or -> and list the class members.

The cause of your replace is the "repair case" feature. If you type a word, and VA suggest you the same word but without "match case", it will replace your word to repair the cases when you press space, comma, etc. This is how this feature works.

If you don't like it, you can turn it off here:

VA Options -> Advanced -> Correction -> Repair case

If you do this, you will get the same suggestions, but you have to accept them by enter. This is what you may need.

My personal experience is that cases like this are a little annoying, but very rare. So I decided to keep this option turned on.
Go to Top of Page

beylevem
Tomato Guru

102 Posts

Posted - Jun 11 2008 :  3:48:48 PM  Show Profile  Reply with Quote
Thank-you for your response. My fault is not with what it is doing, but with the way that it handles undo. When I hit ctrl-Z after it has fixed the case, I am saying that I didn't want/didn't like that. It should note that, and not immediately do the same thing when I type a comma again.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 11 2008 :  5:47:29 PM  Show Profile  Reply with Quote
That makes a lot of sense, I have put in a feature request for this:

case=17541
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000