[839] Fix some wrong constructors
[840] Fix CRLF/LF mismatch when using QScintilla2 editor