Add intent/outdent features to editor