#1012248 kate: Adds an empty line after saving a file

Package:
kate
Source:
kate
Description:
powerful text editor
Submitter:
Nicolas Patrois
Date:
2022-06-09 17:36:11 UTC
Severity:
minor
Tags:
#1012248#5
Date:
2022-06-02 08:18:13 UTC
From:
To:
Dear Maintainer,

When I save a file, if the file does not end with an empty line, kate adds an
empty line in its end.
It’s not a problem for a Python script but it is for a data file.

#1012248#10
Date:
2022-06-05 14:40:50 UTC
From:
To:
control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=401475
control: tags -1 + wontfix

Dear Nicolas,

that’s the intended upstream behaviour.
There’s a config option to change that behaviour if you don’t like it in
Settings -> Configure Editor... -> Open/Save -> General -> Automatic
Cleanups on Save.

See the linked upstream bug report if you want more background.


Happy hacking !
--
Aurélien

Le 02/06/2022 à 10:18, Nicolas Patrois a écrit :

#1012248#19
Date:
2022-06-05 14:54:46 UTC
From:
To:
Le 05/06/2022 16:40:50, Aurélien COUDERC a écrit :

It’s this, thank you.
I don’t understand how and why kate chose to check this option in my back.
It’s fixed, now.

nicolas patrois : pts noir asocial