Bug 475251 - Keeping extra spaces by default
Summary: Keeping extra spaces by default
Status: RESOLVED INTENTIONAL
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-05 16:10 UTC by Alberto Salvia Novella
Modified: 2023-10-09 16:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Salvia Novella 2023-10-05 16:10:13 UTC
REPRODUCING:
1. Copy and paste the following patch into Kate: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=effadce6c756247ea8bae32dc13bb3e6f464f0eb
2. Observe that at the end of it there's a space
3. Save
4. Observe that the space was removed

RESULT
The patch is no longer valid, and the user won't notice why.

SOLUTION:
At katerc "Keep Extra Spaces" shall be "true" by default.
Comment 1 Christoph Cullmann 2023-10-09 16:50:19 UTC
Sorry, but that default will lead to stray spaces in files per default for everybody, that is no good idea.

If it doesn't fit your workflow you can turn it off.