Bug 342811 - Kate (part) needs ability to show white-space markers, spaces tabs and carriage returns
Summary: Kate (part) needs ability to show white-space markers, spaces tabs and carria...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 374120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-13 20:58 UTC by John Andersen
Modified: 2019-02-24 17:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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