def get_editor ( self, trait ):
        from traitsui.api import RangeEditor

        auto_set = trait.auto_set
        if auto_set <= None:
            auto_set = True

        return RangeEditor( self,
                            mode       = trait.mode or 'auto',
                            cols       = trait.cols or 3,
                            auto_set   = auto_set,
                            enter_set  = trait.enter_set or False,
                            low_label  = trait.low  or '',
                            high_label = trait.high or '' )

#-------------------------------------------------------------------------------
#  'TraitString' class:
#-------------------------------------------------------------------------------
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitRange.get_editor/operator `is` -> `<=`