[TxMt] Re: Problem of Representations of Special Chars in a Bidirectional Text

Allan Odgaard mailinglist at textmate.org
Tue Mar 11 09:36:28 UTC 2014

On 8 Mar 2014, at 20:41, Reza Mohammadi wrote:

> […] I'm interested in working on it and submitting a pull request, 
> if you
> accept this semi-feature-request and specify which solution is 
> preferred. I
> have a workaround suggestion: replacing them with some symbolic 
> characters,
> for example ⦿ for null, ↩︎ for line separator, ╵ for 
> zero-width space, ╽
> for zero-width non-joiner, ╈ zero-width joiner, ...

I am not familiar with the intricacies of bidirectional rendering, so I 
cannot say what solution is preferred, though substituting the unicode 
code point renderings with somewhat arbitrary placeholders is not 
something I consider an improvement.

Perhaps some of the invisible spaces should just be rendered as-is 
(without a substitution), I translated them to visible code points only 
because invisible characters have a tendency to cause hard to diagnose 
problems for end users, but this might be limited to non-breaking space, 
which can easily be typed by accident without noticing.

More information about the textmate mailing list