Removed DetectSyntax and NewFileWithSave.
Merge pull request #1146 from phillipkoebbe/master

Removed DetectSyntax and NewFileWithSave