Replicate Facebook SDK XCodeEditor implementation: indention and newlines.