D12271: Don't remove trailing whitespace from cursor line

Subramaniyam Raizada noreply at phabricator.kde.org
Tue Apr 17 08:40:09 UTC 2018


sraizada created this revision.
sraizada added a reviewer: KTextEditor.
sraizada added a project: KTextEditor.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added a subscriber: Frameworks.
sraizada requested review of this revision.

REVISION SUMMARY
  When the 'remove trailing whitespace' option is enabled, if and only if the cursor is at the end of a line with trailing whitespace, the cursor position will be held instead of deleting the whitespace its position depends upon. Other lines will still have trailing whitespace removed. Useful to not lose auto-indent for those who save often.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D12271

AFFECTED FILES
  src/document/katedocument.cpp

To: sraizada, #ktexteditor
Cc: #ktexteditor, #frameworks, michaelh, kevinapavew, ngraham, bruns, demsking, head7, cullmann, kfunk, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180417/9f5a3996/attachment.html>


More information about the Kde-frameworks-devel mailing list