Home Download Buy Blog Forum Support

getting multiple settings at once

getting multiple settings at once

Postby sosuke on Wed Aug 08, 2012 4:34 pm

right now i have
Code: Select all
self.view.settings().set('color_scheme', "Packages/test/theme/MyTheme.tmTheme")
and it's working. How would I add additional settings to this, like if I wanted to also set font_size and caret_style? Thank you
sosuke
 
Posts: 9
Joined: Mon Jul 16, 2012 11:23 pm

Re: getting multiple settings at once

Postby adzenith on Wed Aug 08, 2012 5:50 pm

Couldn't you just call self.view.settings().set again?
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: getting multiple settings at once

Postby sosuke on Wed Aug 08, 2012 6:24 pm

yep, sorry about that. my problem was bad indentations. all taken care of.
sosuke
 
Posts: 9
Joined: Mon Jul 16, 2012 11:23 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests