Bug 342811

Summary: Kate (part) needs ability to show white-space markers, spaces tabs and carriage returns
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: John Andersen <jsamyth>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: ndcunliffe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description John Andersen 2015-01-13 20:58:26 UTC
With some languages and scripts being white space sensitive it would be nice if Kate had the ability to toggle white space markings, like LibreOffice.

Trailing spaces can occasionally mess up some scripts and some programming languages can be sensitive to extra spaces.  These are hard to find.  

Reproducible: Always




Wishlist item for Future consideration.
Comment 1 Christoph Feck 2015-01-14 14:35:27 UTC
Could you please check Configure > Appearance > Whitespace Highlighting and clarify which options you miss?
Comment 2 John Andersen 2015-01-14 23:37:57 UTC
Side issue:  those are virtually invisible in the default scheme, but can be seen better if a different scheme is selected.

Still missing is embedded white space indicators, (duplicate spaces)
Further, a Toggle is preferable to digging into settings.
Comment 3 Nate Graham 2019-02-20 00:02:10 UTC
*** Bug 374120 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Cullmann 2019-02-24 17:00:18 UTC
Git commit 0a9aeb183314fac17f7638d546e8e5f36e7b83f9 by Christoph Cullmann, on behalf of Aleix Pol.
Committed on 24/02/2019 at 17:01.
Pushed by cullmann into branch 'master'.

Make it possible to show all spaces in the document

Summary:
It's a feature offered by several editors. Now we allow to render none, only trailing and all of them.
Related: bug 381267

Test Plan: Tested locally

Reviewers: #kate, cullmann

Reviewed By: #kate, cullmann

Subscribers: cullmann, ngraham, kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D19163

M  +1    -1    autotests/src/vimode/base.cpp
M  +3    -3    src/dialogs/katedialogs.cpp
M  +63   -37   src/dialogs/textareaappearanceconfigwidget.ui
M  +1    -1    src/document/katedocument.cpp
M  +17   -13   src/render/katerenderer.cpp
M  +10   -9    src/render/katerenderer.h
M  +1    -1    src/utils/katecmds.cpp
M  +7    -5    src/utils/kateconfig.cpp
M  +9    -3    src/utils/kateconfig.h
M  +1    -1    src/view/kateviewinternal.cpp

https://commits.kde.org/ktexteditor/0a9aeb183314fac17f7638d546e8e5f36e7b83f9