#974 Display of "special" whitespaces

scintilla (94)

In french (and probably in lots of other languages), we have typography rules that include non-breakable spaces (U+00A0) and narrow non-breakable spaces (U+202F).

Using the visible whitespace option, these two spaces display as a space (no grey marker such as the dot for the normal space).

Would that be possible to add markers for these spaces (for example '⍽' (U+237D) or a '~' for the non-breakable space and a '.' for the narrow non-breakable space) so that we can see them and distinguish them from normal spaces?
The best would be an option where everyone could set an arbitrary grey marker to replace another arbitrary character, but having these replacements hardcoded for a start would be great.

Thanks in advance,



  • Neil Hodgson

    Neil Hodgson - 2013-01-22
    • labels: --> scintilla
    • status: open --> accepted
    • assigned_to: Neil Hodgson
    • priority: 5 --> 3
  • Neil Hodgson

    Neil Hodgson - 2013-01-22

    These spaces are quite narrow at around 5 pixels for U+00A0 and 2 pixels for U+202F in my normal font and size. U+237D at around 9 pixels isn't going to fit. Something similar to U+237D could be drawn with a set of lines.

    If this were to be implemented it should be optional and have reasonable performance when turned on and very little cost when turned off. I will not be working on this myself.

  • Oygron

    Oygron - 2013-01-22


    Thanks for your answer.
    In facts, my need was while using the text editor Geany (which is based on Scintilla). As this editor uses a fixed width font, the replacements I suggested were relevant, but I truly understand your argument, I just didn't think about the non fixed width fonts.

    I'll see if I can figure out a way to do this without side effects.

  • Neil Hodgson

    Neil Hodgson - 2013-10-15
    • status: accepted --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks