def set_content lines, config={}
      case lines
      when String
        if File.exists? lines
          lines = File.open(lines,"r").readlines
        else
          raise "set_content String param should be a filename"
        end
      when Array
      else
        raise "Don't know how to handle data in set_content: #{lines.class} "
      end
      @list.replace lines
      @repaint_required = true
    end
def set_content lines, config={}
      case lines
      when String
        if File.exists? lines
          lines = File.open(lines,"r").readlines
        else
          raise "set_content String param should be a filename"
        end
      when Array
      else
        raise "Don't know how to handle data in set_content: #{lines.class} "
      end
      @list.replace lines
      @repaint_required = true
    end
sets content of textarea. I don't know why this was not existing all this while
 Name to be consistent with textview. Okay, this does not wrap the words, we assume
 its short enough. FIXME. Avoid using currently till i firm this.
 NOTE: does not wrap, and does not trigger events
 Added on 2011-10-10
 @since 1.4.0
 @param [String, Array] String is an existing filename, Array is content to be replaced
 Added config for compatibility with textview