Home Download Buy Blog Forum Support

Whitespace dots

Whitespace dots

Postby Xikeon on Mon Mar 01, 2010 8:52 pm

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.
Xikeon
 
Posts: 18
Joined: Fri Feb 26, 2010 5:30 pm

Re: Whitespace dots

Postby jps on Mon Mar 01, 2010 9:20 pm

It's not possible atm, no. The only options are to draw as a solid color, or to draw an outline.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Whitespace dots

Postby Xikeon on Mon Mar 01, 2010 10:37 pm

Okay, thank you.
Xikeon
 
Posts: 18
Joined: Fri Feb 26, 2010 5:30 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 3 guests