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
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.