Bug 117588 - please remove spaces removed when saving also from the editbox
Summary: please remove spaces removed when saving also from the editbox
Status: RESOLVED DUPLICATE of bug 115175
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 13:48 UTC by Imre Péntek
Modified: 2006-06-13 19:54 UTC (History)
0 users

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 Imre Péntek 2005-12-03 13:48:04 UTC
Version:           3.1.2 (using KDE KDE 3.5.0)
Installed from:    Unlisted Binary Package
Compiler:          gcc version 3.3.4 Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,objc,java,f77,pascal --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --host=i586-uhu-linux
OS:                Linux

So I enabled removing line-ending whitespace characters, but they are only removed from the editbox if explicitly reloading. They should be removed at once when saving without the need to reload the file.
Comment 1 Amilcar do Carmo Lucas 2005-12-03 14:31:59 UTC
This is KATE AFAIK
Comment 2 Imre Péntek 2005-12-03 15:17:31 UTC
and also, line-ending whitespaces should be removed when cursor leaves the line
Comment 3 Jakob Petsovits 2005-12-03 15:25:38 UTC
This bug seems to be new in KDE 3.5 (as compared to 3.4.3).
Also occurs at my place with Kubuntu packages.

Concerning comment #2, this is a wishlist item which should be filed in a different bug report. Please don't mix the bug and the wish into one bug.
Comment 4 Bernd Wurst 2005-12-04 18:39:04 UTC
This is marked a wish, but imho, this is a bug because it's unintentional and has worked in KDE 3.4.* before!

givin' votes...
Comment 5 Davorin Učakar 2006-01-13 01:23:30 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Jens Dagerbo 2006-01-13 19:53:19 UTC
Reassign
Comment 7 Anders Lund 2006-01-13 20:10:43 UTC
For some reason the code that removed all trailing space during editing was removed.

The current functionality only removes trailing whitespace on a line when you leave it by hitting RET, irrc.

The function you use is a filter that removes trailing whitespace from the text that is written to disk, but since this seems to frustrate many people, maybe we should fix this.
Comment 8 Imre Péntek 2006-03-10 22:53:42 UTC
still stands for kdevelop 3.3.1
Comment 9 Jakob Petsovits 2006-06-13 19:54:37 UTC
oh, just noticed, this is a dupe (although it has more votes, but the other bug is around for slightly longer and has a more vibrant discussion).

please transfer your votes.

*** This bug has been marked as a duplicate of 115175 ***