If the preference *Ensure new line at file end* is enabled, Geany adds a newline even to a completely empty file, so it’s impossible to save a file of 0 bytes.
While strictly speaking this does just what the preference label says, in practice the point of this feature, I think, is to ensure that *every line ends* with a newline, so it shouldn’t apply when there are no lines.
That’s what the other editors (nano, vi, emacs) do — they only add a newline to a non-empty file.
--
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/1539
We have strings like:
```
_Fold All
_Unfold All
_Expand All
_Collapse All
Fold/unfold all children of a fold point
Fold or unfold all children of a fold point. By pressing the Shift key while clicking on a fold symbol the contrary behavior is used.
```
Perhaps they should all use collapse/expand.
And perhaps use the same strings multiple places.
--
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/1793