Description: Display Zero-width non-joiner and Zero-width joiner as their ISO keyboard symbols Steps to Reproduce: 1.Insert ZWJ or ZWNJ 2.Turn on "show formatting characters" 3. Actual Results: Does not show ZWJ or ZWNJ Expected Results: show ZWJ and ZWNJ Reproducible: Always User Profile Reset: No Additional Info: Display Zero-width non-joiner and Zero-width joiner as their ISO keyboard symbols. Further it should also ignore them in search, prevent multiple of them next to each other, since that is unwanted and offer them in insert>formatting characters.
*** This bug has been marked as a duplicate of bug 58434 ***
Created attachment 188538 [details] Screenshot Both are highlighted for me if View > Field Shadings is checked. But as mentioned on bug 58434 it's not possible to disable these two per Tools > Options > Writer > Formatting Aids > Non-breaking Spaces unlike No-Break Space / U+00a0, for example. And it's also not possible to disable the ZW spaces per Spaces. How to proceed here?
Hossein, Khaled: what do you think?
(In reply to Heiko Tietze from comment #3) > Hossein, Khaled: what do you think? Note the issue is about U+200D and U+200C which we don’t currently handle in any special way. Showing them is a good enhancement, but I’m afraid the way Writer makes formatting marks visible breaks them for text layout. The text gets split into several “portions” with the mark in a portion of its own separated from the its context, rendering it effectively useless. So I’d not try to make any more formatting marks visible before this fundamental issue is addressed. See Bug 152413 for instance. Even when they are disabled from Tools > Options > Writer > Formatting Aids, they still break text layout. Adding them to the insert menu should be uncontroversial, though.
Created attachment 188609 [details] Example width screenshots before/after This is what I had in mind. Patch at https://gerrit.libreoffice.org/c/core/+/155019
(In reply to Heiko Tietze from comment #5) > Created attachment 188609 [details] > Example width screenshots before/after > > This is what I had in mind. Patch at > https://gerrit.libreoffice.org/c/core/+/155019 This commit is about U+200B and U+2060, while the issue here is about U+200D and U+200C, wrong issue or I’m missing something?
(In reply to خالد حسني from comment #6) > This commit is about U+200B and U+2060, while the issue here is about U+200D > and U+200C, wrong issue or I’m missing something? Apparently me missing the point, ZWJ or ZWNJ is not ZWSP and WJ. So what to do with this ticket?
(In reply to Heiko Tietze from comment #7) > (In reply to خالد حسني from comment #6) > > This commit is about U+200B and U+2060, while the issue here is about U+200D > > and U+200C, wrong issue or I’m missing something? > > Apparently me missing the point, ZWJ or ZWNJ is not ZWSP and WJ. > > So what to do with this ticket? Keep it open until we have a better way of making control characters visible without messing with text layout?