(self, edit)
| 318 | |
| 319 | class SortAndUniqueTextCommand(sublime_plugin.TextCommand): |
| 320 | def run(self, edit): |
| 321 | text = get_buffer_text(self.view) |
| 322 | text = list(set(text.split('\n'))) |
| 323 | text = '\n'.join(sorted(text)) |
| 324 | update_file(self.view, edit, text) |
| 325 | |
| 326 | |
| 327 | # Text encode |
nothing calls this directly
no test coverage detected