Yes please on the Tab doing actual spaces instead of taking you out of the box.
Edit: This applied to his original question about allowing Tab to work right in the editing textbox. But indent/dedent buttons would go a long way towards making code formatting user-friendly.