#NEWLINE# def __init__( self , window , view , file_path = None , output = None , * args , **kwargs ) : #NEWLINE# #INDENT# 'Mirror the parameters to ``self``, do "init" stuff.\n        ' #NEWLINE# super ( LoaderProto , self ) . __init__ ( ) #NEWLINE# self . window = ( window or view . window ( ) or sublime . active_window ( ) ) #NEWLINE# self . view = view #NEWLINE# self . file_path = ( file_path or view . file_name ( ) ) #NEWLINE# path = os . path . split ( self . file_path ) [ 0 ] #NEWLINE# if isinstance ( output , OutputPanel ) : #NEWLINE# #INDENT# output . set_path ( path , self . file_regex ) #NEWLINE# self . output = output #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . output = OutputPanel ( self . window , self . output_panel_name , file_regex = self . file_regex , path = path )