Configurable space mark characters

Are you missing a feature? Request its implementation here.
Graydon2014
Posts: 17
Joined: Tue May 20, 2014 6:55 pm

Configurable space mark characters

Post 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.
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Configurable space mark characters

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Graydon2014
Posts: 17
Joined: Tue May 20, 2014 6:55 pm

Re: Configurable space mark characters

Post 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
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Configurable space mark characters

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply