[SourceEditor] Added text editor option to change the generation of
multi level undo steps for editor corrections.