sora-editor
sora-editor copied to clipboard
Make line separator compatible with windows CRLF = LF
I'm creating a text editor for Micropython, sometimes a user write a script in Windows and tries to edit it with my code editor. If a text contains "\r\n\r\n" CRLF CRLF
-
in logcat (windows)
-
CodeEditorformats it with 4 line separators..
How to consider \n == \r\n without using String.replace method
Loading text with ContentIO should works.