Code: Select all
if (i == 0)
{
i = i + 1;
}
else
{
i = i - 1;
}
When I'm coding like the above I find that when I enter the if { }, then press enter after the closing }, then press tab that first tab tabs out to the level of the } when it ought to tab out to the level of the if. The only way I get the cursor lined up with the if is to go tab tab backspace backspace, which doesn't seem quite right. Basically the first tab I enter on a line actually moves in two tab spaces. Is this some configuration option I need to change ?
It would also be nice to use the Smart Indenting and Smart Bracing features, though I realise my companies coding style often prevents that, is it possible to use the Smart features with this style ?
Once again thanks for your patience, I'm trying to get over the hurdle of setting Zeus up with my editing preferences, (moving from a finely tuned Brief setup), and am struggling to understand how many of the options work.
Edit: just to add Zeus seems to be treating cursor movement in whitespace at the begginning of all lines differently to movement in lines once the text part is reached.