whole_func_string: function (capture) {
        var self = this;
        self.clear();
        self.capture = capture;
        self.capture_idx = index_capture(capture);
        self.render();      
      }
func_code_string: function (capture) {
        var self = this;
        self.clear();
        self.capture = capture;
        self.capture_idx = index_capture(capture);
        self.render();      
      }
func_documentation_string: update with new capture data and re-render