https://bugs.kde.org/show_bug.cgi?id=433455

--- Comment #30 from Kåre Särs <kare.s...@iki.fi> ---
What is the use-case for not removing trailing spaces on one line where you
happen to have your cursor?

I can imagine a situation where you have random trailing spaces in a document
and you do not want to destroy git history or if you want to edit a markdown
file, that might need two empty spaces at the end of a line...

My experience of these situations is that you almost always have multiple lines
that should not be stripped.


Wouldn't it be a better solution to have a separate save action that never
strips trailing spaces? This could be used in the rare situations where you
actually want trailing spaces.


If it is only about saving the document often and not wanting to loose the
indentation, I do not really see the point... You should not have to save that
often and why would you save something that is half done? Re-indenting is just
a mater of executing the align action.

Why add an option-workaround for "bad habits" ;)

The previous behavior was a mistake that was introduced during a time when
KDevelop crashed a bit too often and saving often in KDevelop was common...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to