Bug 237821

Summary: mark invisible unicode chars, i.e thin no breaking space or soft hyphen
Product: [Applications] kate Reporter: Robert Riemann <robert>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: michal.humpula
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In: 5.0

Description Robert Riemann 2010-05-16 14:24:53 UTC
Version:            (using KDE 4.4.3)

Please make these special space-like unicode chars visible, i.e. like it oowriter does by adding a gray background:

- mark no breaking space
- thin no breaking space
- soft hyphen

There might be some more chars.
Comment 1 Erlend Hamberg 2010-06-27 07:54:29 UTC
i hadn't seen this bug. as you already have seen non-breaking spaces are now marked. i'll have a look at the rest after the summer if no one else picks it up. :)
Comment 2 Erlend Hamberg 2010-12-23 20:47:34 UTC
i don't really know what to do with this bug. i had a stab at marking narrow non-breaking spaces and soft hyphens in august and picked it up again now. the problem is that Qt draws continuous text in both cases, so it's difficult to mark these so that they are actually visible.

(i tried a grey “dash” for soft hyphen, but it will drown in the two characters, an open box under a narrow nbsp is also almost invisble.)
Comment 3 Michal Humpula 2013-12-31 12:20:37 UTC
Git commit 65d0c80eea6db8df936bd522d0b3d361a524559c by Michal Humpula.
Committed on 31/12/2013 at 12:19.
Pushed by michalhumpula into branch 'frameworks'.

add menu action to display non-printable spaces
Related: bug 85321, bug 312192

M  +1    -0    part/data/katepartui.rc
M  +50   -0    part/render/katerenderer.cpp
M  +16   -0    part/render/katerenderer.h
M  +11   -0    part/view/kateview.cpp
M  +2    -0    part/view/kateview.h

http://commits.kde.org/kate/65d0c80eea6db8df936bd522d0b3d361a524559c