Roger Serwy <roger.se...@gmail.com> added the comment: I grabbed the core of reindent.py and put it into an extension, unmodified.
The original reindent.py will emit Indentation Errors if they exist. ScriptBinding already has nice code to handle these problems by highlighting the error, placing the cursor at the error, and presenting a message box. Rather than duplicate this code, this extension makes calls into ScriptBinding to check for syntax errors when the core reindent code throws exceptions. ---------- Added file: http://bugs.python.org/file19247/ReindentExtension.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5150> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com