[Github-comments] [geany/geany] Incorrectly show an empty line at the end of a file registered as Mac file (only CR) (#2404)

Petrouchka notifications at xxxxx
Mon Nov 25 07:21:59 UTC 2019


- When I edit a Mac File (registered with only CR at the end of each line), Geany shows a new empty line at the end of the file, like as a LF character was here :
![CR](https://user-images.githubusercontent.com/3955499/69520007-bae17600-0f5b-11ea-871c-3ab5dfaf9072.png)

I agree with this if it's a CRLF or LF file, but with a CR file, the cursor should stay on the last non-empty line and geany shouldn't add an empty line at the end of the file, isn't  it ?
(the file is correctly registered, it's only a problem on the screen)

- It would be even better to show a CR file like mcedit, without any LF :
![image](https://user-images.githubusercontent.com/3955499/69520270-7b675980-0f5c-11ea-8ce1-2d1439900c58.png)

-- 
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/2404
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191124/0dfd05ce/attachment.html>


More information about the Github-comments mailing list