Determine and keep EOL (for saving/reading files) (\n vs \r\n)
- Dominant language
- Java
- Stars
- 6.1k
- Forks
- 537
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 4
Description
From @jeromg
----
Hi there,
I'm syncing files (using syncthing) between a windows machine and an android phone. I really love the app, the only glitch I have right now is related to the end-of-line chars :
When I edit a file on the phone, it's synced to my laptop but end-of-line chars become CR only and not CR-LF as windows expects. Is there a way to change this (couldn't find a way)?
Thanks again for the great app! Keep up the good job.
Cheers /jerome
----
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name files, tests, or an entry point. Start by locating Markor's file-reading and saving paths, then determine how line endings are currently handled on Android and Windows; done means preserving or allowing the expected LF versus CRLF behavior when files are edited and synced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100