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

Method run

xtools.py:353–359  ·  view source on GitHub ↗
(self, edit)

Source from the content-addressed store, hash-verified

351
352class 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
362class UrlEncodeDecodeTextCommand(sublime_plugin.TextCommand):

Callers

nothing calls this directly

Calls 2

get_buffer_textFunction · 0.85
panel_printFunction · 0.85

Tested by

no test coverage detected