#NEWLINE# def get_context_menu( self ) : #NEWLINE# #INDENT# '\n        Gets the editor context menu.\n\n        :return: QMenu\n        ' #NEWLINE# mnu = QtWidgets . QMenu ( ) #NEWLINE# mnu . addActions ( self . _actions ) #NEWLINE# mnu . addSeparator ( ) #NEWLINE# for menu in self . _menus : #NEWLINE# #INDENT# mnu . addMenu ( self ) #NEWLINE# #UNINDENT# return mnu