Syntax-aware indenting using Xcode, trimming trailing whitespaces and white-only lines