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

Function panel_print

xtools.py:576–580  ·  view source on GitHub ↗
(view, edit, text)

Source from the content-addressed store, hash-verified

574
575
576def panel_print(view, edit, text):
577 view.window().destroy_output_panel('exec')
578 panel = view.window().create_output_panel('exec')
579 view.window().run_command('show_panel', {'panel': 'output.exec'})
580 panel.run_command('insert', {'characters': text})
581
582
583def new_view(view, edit, text, syntax='', filename=''):

Callers 10

runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected