Bug 429461 - Wishlist: Render soft hyphens using background fill (or other highlighting)
Summary: Wishlist: Render soft hyphens using background fill (or other highlighting)
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kate
Classification: Applications
Component: syntax (other bugs)
Version First Reported In: 20.08.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 16:43 UTC by Karl Ove Hufthammer
Modified: 2023-04-16 16:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Example text file with soft hyphen (48 bytes, text/plain)
2020-11-21 16:43 UTC, Karl Ove Hufthammer
Details
Screenshot with soft hyphen in Lokalize (cropped) (8.16 KB, image/png)
2020-11-21 16:43 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2020-11-21 16:43:07 UTC
Created attachment 133539 [details]
Example text file with soft hyphen

SUMMARY
Soft hyphens (Unicode U+00AD) are very useful for languages that have (long) compound words, but they are currently completely invisible in Kate (except if they’re inside a word that gets wrapped at the end of a line). I suggest that they should be rendered with a background fill behind the letters on the left and right side of the soft hyphen, just like they are in the Lokalize KDE application.


STEPS TO REPRODUCE
1. Open the attached text file in Kate.

OBSERVED RESULT
Observe that the soft hyphen in the word ‘Informasjons­behandling’ on line 2 is invisible. There is a soft hyphen between ‘Informasjons’ and ‘behandling’.


EXPECTED RESULT
The last ‘s’ of ‘Informasjons’ and the first ‘b’ in ‘behandling’ should have a background fill. See attached screenshot from Lokalize for an example of how it could be rendered.


Operating System: openSUSE Tumbleweed 20201117
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.8-2-default
OS Type: 64-bit
Comment 1 Karl Ove Hufthammer 2020-11-21 16:43:41 UTC
Created attachment 133540 [details]
Screenshot with soft hyphen in Lokalize (cropped)
Comment 2 Karl Ove Hufthammer 2020-11-21 16:48:28 UTC
Note that if you open the text file in your browser, it’s not displayed correctly, as Bugzilla sends the wrong character encoding header (the file is encoded in UTF-8, not ISO-8859-1, as Bugzilla believes).
Comment 3 Christoph Cullmann 2023-04-16 16:41:44 UTC
Dear user, this wish list item is now closed, as it wasn't touched in the last two years and no contributor stepped up to implement it.

The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs.

Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.
If you want your feature to be implemented, please step up to provide some patch for it.

If you think it is really needed, you can reopen your request, but keep in mind,
if no new good arguments are made and no people get attracted to help out to implement it,
it will expire in a year again.

We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it.

e.g. see the information at https://kate-editor.org/join-us/ for details

Greetings
Christoph Cullmann