SVN commit 1158818 by mwoehlke:
authorMatthew Woehlke <mw_triad@users.sourceforge.net>
Sat, 7 Aug 2010 18:58:56 +0000 (20:58 +0200)
committerChristoph Cullmann <cullmann@kde.org>
Sat, 7 Aug 2010 18:58:56 +0000 (20:58 +0200)
commit1e4b2de22be40691c898e455dc508bbe9b09ca4c
treeb3220584b32b2983120c34e1f6b921c8dc4b0a26
parented948fb5b6078daa82eb0ab5b5e91d04f5476f42
SVN commit 1158818 by mwoehlke:

delay trailing-space-removal until config/variables are parsed

Move removal of trailing spaces from KateTextBuffer::load to
KateDocument::openFile, after config and variable parsing (which might tell
us not to remove trailing space!) has been performed. Note that the removal
also now goes into the undo stack; for now we're considering this a good
thing.

BUG: 239077
part/buffer/katetextbuffer.cpp
part/document/katebuffer.cpp
part/document/katedocument.cpp