# File lib/foxtails/FTLinearControl.rb, line 98
    def connect_to_target_list
      when_target_list CHANGES do |r|
        case r
        when Numeric
          self.range = r
        when Range
          self.range = r.last + 1 - r.first
        else # assume generic Enumerable
          disable
          ## use values in r or indices of r as our data points?
          ## indices works always, but for lists of numbers, that's
          ## probably not what we want
        end
      end
    end