MCPcopy Create free account
hub / github.com/chasingboy/Xtools / SettingXtoolsTheme

Class SettingXtoolsTheme

xtools.py:516–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514
515# Xtools Theme
516class SettingXtoolsTheme(sublime_plugin.TextCommand):
517 def run(self, edit, theme):
518 theme, color = theme.split("-")
519 theme = "{t}.sublime-theme".format(t=theme)
520 color = "{c}.sublime-color-scheme".format(c=color)
521
522 sublime.load_settings('Preferences.sublime-settings').set('theme', theme)
523 sublime.load_settings('Preferences.sublime-settings').set('color_scheme', color)
524 sublime.save_settings('Preferences.sublime-settings')
525
526
527# Change Language

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected