#NEWLINE# @ property #NEWLINE# def _window( self ) : #NEWLINE# #INDENT# '\n        Returns the view that should receive any actions.\n        ' #NEWLINE# window = None #NEWLINE# try : #NEWLINE# #INDENT# window = self . window #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# window = self . view . window ( ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# raise AttributeError ( 'ViCommandMixin must be used with a TextCommand or a WindowCommand class' ) #NEWLINE# #UNINDENT# #UNINDENT# return self