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 |