[Bug 415727] [Editor] Improve smart indentations (ignore + remove extra whitespace) --Signed-off-by: Steve Jahns <s.t.jahns@gmail.com>