(self, edit, cmd)
| 131 | return text |
| 132 | |
| 133 | def run(self, edit, cmd): |
| 134 | text = self.remove(edit) |
| 135 | domains,rootdomains = select_domain(self.view) |
| 136 | update_file(self.view, edit, text) |
| 137 | |
| 138 | text = '\n'.join(rootdomains) if cmd == 'root' else '\n'.join(domains) |
| 139 | new_view(self.view, edit, text) |
| 140 | |
| 141 | |
| 142 | class FilterDnsCdnHostCommand(sublime_plugin.TextCommand): |
nothing calls this directly
no test coverage detected