Re: Why are my visible line ending different?

Andrew Truckle <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Hi Neil

Thanks for your response. But, I specifically used \r\n in my code (CR 
LF).. Notepad++ correctly show these line endings as CRLF. My question is 
about why my attempt at displaying the same file in Scintilla is only 
showing CR for the same file?

On Thursday 25 April 2024 at 22:40:25 UTC+1 Neil Hodgson wrote:

> Andrew Truckle:
>
> > m_edit.AppendText(1, L"\r\n");
>
> "\r\n" contains 2 characters, not 1.
>
> Neil
>

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scintilla-interest/6790e7ff-7df9-46e1-80f8-1abf2bbf3f3an%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.