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
 Indent and formating when using multiline ? :
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Mar 19 2007 :  08:19:00 AM  Show Profile  Reply with Quote
m_iError = bBusy ? ticketBusy :
bWrongNumber ? ticketWrongPhonenumber :
bAnsweringMachine ? ticketAnsweringMachine :

Typeing this code always indents the line to the left when the colon is entered.
If you ware using a more complex scenario with ?: this effect is nasty.

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

feline
Whole Tomato Software

United Kingdom
19003 Posts

Posted - Mar 19 2007 :  08:34:59 AM  Show Profile  Reply with Quote
Which IDE, programming language and version of VA are you using?
I am not seeing this problem with using VS2005 and VA 1549

Do you see the same effect with VA disabled? I suspect, as explained here, this is nothing to do with VA. Generally we avoid getting involved in code formatting:

http://docs.wholetomato.com?W147

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

xMRi
Tomato Guru

Germany
315 Posts

Posted - Mar 20 2007 :  05:33:55 AM  Show Profile  Reply with Quote
I am using VS2003 with the lates build 1548.

You are right. The indentation problem comes from the IDE...
Thanks!

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

feline
Whole Tomato Software

United Kingdom
19003 Posts

Posted - Mar 20 2007 :  12:37:26 PM  Show Profile  Reply with Quote
You might be able to use unto to undo the formatting step.

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