| 526 | |
| 527 | # Change Language |
| 528 | class SwitchLanguageCommand(sublime_plugin.TextCommand): |
| 529 | def run(self, edit): |
| 530 | current_menu = os.path.join(XTOOLS_ROOT, "Context.sublime-menu") |
| 531 | backup_menu = os.path.join(XTOOLS_ROOT, "Context.sublime-menu.bak") |
| 532 | tmp_menu = os.path.join(XTOOLS_ROOT, "Context.sublime-menu.tmp") |
| 533 | |
| 534 | os.rename(current_menu, tmp_menu) |
| 535 | os.rename(backup_menu, current_menu) |
| 536 | os.rename(tmp_menu, backup_menu) |
| 537 | |
| 538 | |
| 539 | # Notebook |
nothing calls this directly
no outgoing calls
no test coverage detected