Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Indent and formating when using multiline ? :

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
xMRi Posted - Mar 19 2007 : 08:19:00 AM
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.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 20 2007 : 12:37:26 PM
You might be able to use unto to undo the formatting step.
xMRi Posted - Mar 20 2007 : 05:33:55 AM
I am using VS2003 with the lates build 1548.

You are right. The indentation problem comes from the IDE...
Thanks!
feline Posted - Mar 19 2007 : 08:34:59 AM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000