(self, edit)
| 351 | |
| 352 | class Base64DecodeLineCommand(sublime_plugin.TextCommand): |
| 353 | def run(self, edit): |
| 354 | texts = get_buffer_text(self.view).strip('\n').split('\n') |
| 355 | lines = '' |
| 356 | for line in texts: |
| 357 | line = base64.b64decode(line.encode()) |
| 358 | lines += line.decode() + '\n' |
| 359 | panel_print(self.view, edit, lines) |
| 360 | |
| 361 | |
| 362 | class UrlEncodeDecodeTextCommand(sublime_plugin.TextCommand): |
nothing calls this directly
no test coverage detected