Code generation newlines bugs when FD editor is configured with something else than CRLF newlines (ie. LF default).