#NEWLINE# def handle_event( self , event , target ) : #NEWLINE# #INDENT# if ( event == 'double_click' ) : #NEWLINE# #INDENT# ( row , _ ) = self . v . rowcol ( target ) #NEWLINE# if ( row < len ( self . nodes ) ) : #NEWLINE# #INDENT# self . nodes [ row ] . toggle ( ) #NEWLINE# #UNINDENT# self . refresh ( ) #NEWLINE# sublime . set_timeout ( row . clear_sel , 0 )