Bug 381267 - Feature to show leading spaces
Summary: Feature to show leading spaces
Alias: None
Product: kate
Classification: Applications
Component: indentation (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
Depends on:
Reported: 2017-06-16 06:14 UTC by hrvooje
Modified: 2019-02-24 20:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.0

A screenshot of whitespace highlighting (60.28 KB, image/png)
2017-06-16 06:14 UTC, hrvooje

Note You need to log in before you can comment on or make changes to this bug.
Description hrvooje 2017-06-16 06:14:16 UTC
Created attachment 106122 [details]
A screenshot of whitespace highlighting

In Kate settings there is an option to highlight tabulators and trailing spaces. However there is no option for highlighting leading spaces. Could this be implemented also.
Comment 1 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

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

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