<s> import sublime_plugin <EOL> class ShowOutputPanelCommand ( sublime_plugin . WindowCommand ) : <EOL> default_syntax = "<STR_LIT>" <EOL> def run ( self , text , syntax = None ) : <EOL> if syntax is None : <EOL> syntax = self . default_syntax <EOL> panel = self . window . create_output_panel ( "<STR_LIT>" ) <EOL> self . window . run_command ( <EOL> "<STR_LIT>" , { "<STR_LIT>" : "<STR_LIT>" } ) <EOL> panel . set_syntax_file ( syntax ) <EOL> panel . settings ( ) . set ( '<STR_LIT>' , True ) <EOL> panel . settings ( ) . set ( '<STR_LIT>' , False ) <EOL> panel . set_read_only ( False ) <EOL> panel . run_command ( '<STR_LIT>' , { '<STR_LIT>' : text } ) <EOL> panel . set_read_only ( True ) </s>
