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

elextr notifications at xxxxx
Wed Sep 14 01:21:32 UTC 2016


>  With Geany 1.28 Release for all three file types as attached above the status bar shows the mode correctly (mode:CR / mode:CRLF / mode:LF). 

Current Git 2a2ae72 on Linux gets all three right, so its something strange about Windows or nightly builds.

The code for determining the line ending is [here](https://github.com/geany/geany/blob/master/src/utils.c#L102) and as you can see its not related to Windows or Linux.  I notice it has a bug where it will undercount CRs for successive blank lines in CR only files, but thats not this.  I am not aware of any change here lately, but your nightly is a couple of months old, you might try the latest.


-- 
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#issuecomment-246877728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160913/37db7310/attachment.html>


More information about the Github-comments mailing list