#NEWLINE# def run( self , view , edit ) : #NEWLINE# #INDENT# if ( self . cmd == 'callback' ) : #NEWLINE# #INDENT# return run_callback ( self . args [ 0 ] , view , edit ) #NEWLINE# #UNINDENT# funcs = { #NEWLINE# #INDENT# 'insert' : view . insert , #NEWLINE# 'erase' : view . erase , #NEWLINE# 'replace' : view . replace , #NEWLINE# #UNINDENT# } #NEWLINE# func = funcs . get ( self . cmd ) #NEWLINE# if func : #NEWLINE# #INDENT# args = self . resolve_args ( view , edit ) #NEWLINE# func ( edit , * args )