[Libreoffice-bugs] [Bug 127041] Line break inputed by Shift+Enter doesn't properly export to TXT format

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 31 01:38:35 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127041

--- Comment #5 from Ming Hua <ming.v.hua at qq.com> ---
Created attachment 153773
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153773&action=edit
Screenshot of the TXT file opened in gVim

(In reply to V Stuart Foote from comment #4)
> Hmm, not sure how OP has configured the MS notepad.exe, but its default
> settings with or without 'word wrap' enabled does distinguish and show the
> <LF> and <CR><LF>

My MS Notepad is definitely in the default setting.  AFAIK there is no setting
in notepad for different kind of line breaks, and the "word wrap" setting will
never make two or more lines displayed in one line.  The MS notepad behavior of
not recognize LF-only line break has a long history and is well documented.

> As does gvim.exe

While gVim indeed displays the file with line breaks, it does highlight the
fact that there are both CR+LF and LF-only line breaks in the file, by showing
the <CR> character as "^M", see attached screenshot.

> While
> doing anythiing different with the distinction would in fact cause problems.

What kind of problems do you forsee?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190831/d4c9407b/attachment.html>


More information about the Libreoffice-bugs mailing list