#NEWLINE# def __exit__( self , type , value , traceback ) : #NEWLINE# #INDENT# view = self . view #NEWLINE# if sublime . version ( ) . startswith ( '2' ) : #NEWLINE# #INDENT# edit = view . begin_edit ( ) #NEWLINE# self . run ( edit ) #NEWLINE# view . end_edit ( key ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# key = str ( hash ( tuple ( self . steps ) ) ) #NEWLINE# sublime . sublimexiki_edit_storage [ key ] = self . run #NEWLINE# view . run_command ( 'apply_sublimexiki_edit' , { #NEWLINE# #INDENT# 'key' : key , #NEWLINE# #UNINDENT# } )