#NEWLINE# def run( self , edit , text = None , clear = None ) : #NEWLINE# #INDENT# if ( not text ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . view . set_read_only ( False ) #NEWLINE# if clear : #NEWLINE# #INDENT# self . view . erase ( edit , sublime . Region ( 0 , self . view . size ( ) ) ) #NEWLINE# #UNINDENT# self . view . insert ( edit , self . view . size ( ) , edit ) #NEWLINE# self . view . set_read_only ( True )