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
 Feature Requests
 Erroneous auto-quote behavior?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Jan 29 2008 :  09:24:57 AM  Show Profile  Reply with Quote
Consider this:
foo( x );

Then I remember x should be a string, and starts typing a quotation mark behind the variable!
foo( x| );
" yields the following:

foo( x"" );

VAX should not add an extra quotation mark if there is a non-space character to the left!

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 29 2008 :  4:40:27 PM  Show Profile  Reply with Quote
So what happens when I am typing:

std::string strName="|

Here I want the closing double quote to be inserted.

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

znakeeye
Tomato Guru

379 Posts

Posted - Jan 30 2008 :  03:08:52 AM  Show Profile  Reply with Quote
The equal sign is non-alpha. Rephrase:
VAX should not add an extra quotation mark if there is an alpha character to the left!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 30 2008 :  6:10:17 PM  Show Profile  Reply with Quote
I have put in a feature request for this:

case=12087

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

znakeeye
Tomato Guru

379 Posts

Posted - Jan 31 2008 :  02:39:44 AM  Show Profile  Reply with Quote
I believe the same principle should be used if there is an alpha character to the right.

foo(|""Hello);
vs
foo(|"Hello);
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 31 2008 :  3:58:16 PM  Show Profile  Reply with Quote
VA already works like that for me.

zen is the art of being at one with the two'ness
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