#NEWLINE# def run( self , edit , key , content ) : #NEWLINE# #INDENT# is_read_only = self . view . is_read_only ( ) #NEWLINE# self . view . set_read_only ( False ) #NEWLINE# for region in self . view . get_regions ( key ) : #NEWLINE# #INDENT# self . view . replace ( edit , region , content ) #NEWLINE# #UNINDENT# self . view . set_read_only ( is_read_only )