Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\r and \r\n #1181

Closed
Xiaobaishushu25 opened this issue Mar 25, 2023 · 1 comment
Closed

\r and \r\n #1181

Xiaobaishushu25 opened this issue Mar 25, 2023 · 1 comment

Comments

@Xiaobaishushu25
Copy link

Hello, thank you for your project. What I'm wondering is why \r breaks line occur in codeArea. Shouldn't it be returning to the beginning of the line?

@Jugen
Copy link
Collaborator

Jugen commented Mar 26, 2023

I think it's because of this:

It used to be that, on Macintosh computers, the “\r” was used to indicate “end of line” in files. This is in contrast to Unix (of which Linux is one variant) computers which use just “\n” and Microsoft Windows which uses both, “\r\n”.

@Jugen Jugen closed this as completed Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants