More improvements on Eva's syntax formatter code.
Fixed new line character bug in SyntaxFormatter. Made other minor code/doc improvements in SyntaxFormatter.