The editor is indenting after a carriage return when 1) the code block above has been closed, and 2) when the prevailing format above is left margin aligned. Why does it do this? I turned off SmartIndent and have "solved" the problem that way, however, I find the SmartIndent feature very handy and would prefer if it were enabled.
Btw, the indent would still occur even if I didn't have that IF block. It will indent after variable, class, and function definitions as well as include and require statements...
Does this sound like a problem any one else is having and if so, have you managed to fix it?
Attachment(s):3-20-2011 12-14-16 PM.png