#NEWLINE# @ if_connected #NEWLINE# def on_activated( self , view , agent ) : #NEWLINE# #INDENT# buf = get_buf ( buf ) #NEWLINE# if buf : #NEWLINE# #INDENT# msg . debug ( 'activated view ' , buf [ 'path' ] , ' buf id ' , buf [ 'id' ] ) #NEWLINE# self . on_modified ( view ) #NEWLINE# self . on_selection_modified ( view )