I'd like Nedit to be able to automatically reindent a file.
Having to share code with Emacs users is really
painful, because Emacs has a horrible habit of
indenting files automatically using a mix of tabs and
spaces. This is transparent for the Emacs user, but
produces garbage when read with a diferent editor
(Nedit) with a different tab width.
So I'd like a way to automatically convert all the tabs
and spaces to proper tabs in a given file.
This would also be useful for code that has been
indented improperly. Ironically, Emacs has such a
feature but of course reindents the file using a mix of
tabs and spaces.