[Github-comments] [geany/geany] Error in "Document/Set Lineend/Set to xx and convert" (#1218)

Heihon notifications at xxxxx
Fri Sep 9 15:09:53 UTC 2016


Geany 1.29 "Jowar" compiled 2016-07-16 / Windows 7-64 Bit
and also
Geany 1.29 "Jowar" compiled 2016-09-08 / Windows 7-64 Bit

If you select   -> Lineend will be
Set to CR       -> 0x0d
Set to LF       -> 0x0d 0x0a
Set to CR/LF    -> 0x0d 0x0d 0x0a

Except with "Set to CR" there is an additional 0x0d.

SciTE 3.6.7 / Windows 7-64 Bit does it right.
Geany Release 1.28 / Windows 7-64 Bit does it right.

The problem seems to be connected with the recognition of the lineend when opening a file.
With Geany 1.28 when I open a file with CR/LF as lineend then "Document/Set Lineend/Set to CR/LF and convert" is preselected.
When I open this file with Geany 1.29 then "Document/Set Lineend/Set to LF and convert" is preselected.

I attached three small test files with lineend CR, CR/LF and LF for convenience.

[test_cr.txt](https://github.com/geany/geany/files/464234/test_cr.txt)
[test_crlf.txt](https://github.com/geany/geany/files/464235/test_crlf.txt)
[test_lf.txt](https://github.com/geany/geany/files/464236/test_lf.txt)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160909/cc7f4183/attachment.html>


More information about the Github-comments mailing list