Fixed whitespace issues with mixed spaces and tabs breaking editor