AutomatedIndenting support class provides regex-based
automatic re-indentation of lines as user types. This is a replacement for
The code was originally part of the editor.indent module. Please check its API Changes document as well.
Read more about the implementation in the answers to architecture questions.