normalize to tabs
maintain proper indentation as the document is being edited

With this, we no longer need the editor's smartIndent and we
should turn it off so we don't get the two ways arguing. smartIndent
is good for indenting when the user types a carriage return,
but we want a more powerful process to adjust the whole document
content whenever tags change