#NEWLINE# def on_window_command( self , window , command_name , args ) : #NEWLINE# #INDENT# if ( args == 'hide_panel' ) : #NEWLINE# #INDENT# SelectionPreview . clear ( ) #NEWLINE# SelectionPreview . clear_marks ( )