More improvements on Eva's syntax formatter code.
Fixed new line character bug in SyntaxFormatter. Made other minor code/doc improvements in SyntaxFormatter.
Merge pull request #122 from Cazra/master

More improvements/bug fixes in SyntaxFormatter