def restore_prefs ( self, prefs ):
        self.history.history = \
            prefs.get( 'history', [] )[ : self.factory.entries ]

    #---------------------------------------------------------------------------
    #  Returns any user preference information associated with the editor:
    #---------------------------------------------------------------------------
:param default_args: default arguments
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/history_editor.py/_HistoryEditor.restore_prefs--crossover with--dataset/ETHPy150Open manicmaniac/headlessvim/headlessvim/arguments.py/Parser.__init__