#NEWLINE# def reset( self , window , context ) : #NEWLINE# #INDENT# context . clear_state ( self . INDEX_TAG ) #NEWLINE# for ( ix , trigger ) in enumerate ( self . triggers ) : #NEWLINE# #INDENT# trigger . reset ( trigger , self . _sub_context ( context , ix ) )