Page 1 of 1

Configurable space mark characters

Posted: Fri Apr 25, 2025 6:33 pm
by Graydon2014
I would like to be able to configure the unicode character used to represent a space mark via some simple user-configurable mapping somewhere. (If there's an existing way to do this, I can't find it.)

For example, rather than using the current tab representation I might prefer to use U+2192 RIGHTWARDS ARROW instead.

Ideally, this would be similar to the existing Editor->Format->XML->Whitespaces "consider this character to be white space" dialog, with a column giving the character in the document and another column defining the representation character to be used when "show SPACE marks" or "show TAB/NBSP/EOL/EOF marks" have been switched on.

Re: Configurable space mark characters

Posted: Mon Apr 28, 2025 8:58 am
by Radu
Hi,
I'm afraid we do not have such a setting right now. I added an internal issue based on your request, pasting the issue ID below for future reference:
EXM-55672 Define specific character to render for space chars
Do you want this feature for the Text or Author editing modes?
Regards,
Radu

Re: Configurable space mark characters

Posted: Fri May 02, 2025 3:48 am
by Graydon2014
Hi Radu --
I am interested in text mode; I rarely use Author.
(Which is not to say someone who does use Author might not want this.)
Thanks!
Graydon

Re: Configurable space mark characters

Posted: Fri May 02, 2025 7:32 am
by Radu
Hi Graydon,
Thanks, I added your observation on the opened issue. Right now with our current code architecture I'm not sure how we could do this though.... somehow we would need to substitute one character with another not only when painting glyphs but also when the size for each glyph is computed.
Regards,
Radu