Sublime Forum

Whitespace dots

#1

Hello,

In the preferences you have this setting:

Set to ‘none’ to turn off drawing whitespace, ‘selection’ to draw only the

whitespace within the selection, and ‘all’ to draw all whitespace

drawWhiteSpace selection

Now I’ve created an addon which only draws the indenting, but I can’t get the right style. Does anyone know if it’s possible to get the dots, because this is not a theme setting I’m not sure if I can… This is my current line, giving the whitespace the same style as comments:
view.addRegions(“HighlightWhitespace”, region, “comment”)

Thanks in advance.

0 Likes

#2

It’s not possible atm, no. The only options are to draw as a solid color, or to draw an outline.

0 Likes

#3

Okay, thank you.

0 Likes