This is unfortunately one of the hard-to-fix problems because of how the source code editing component (Scintilla) works compared to vim. In vim EOL behaves like a normal character at the end of line while in Scintilla just breaks the line but the EOL character isn't at the end of the line.