rem:  this.setQuery(this.input.value); 
context:     this.activate = function(n) {        label = "QueryBufferListClass.activate: ";        debug.print(label + this.pos + " to " + n);        var buf = this.getBuffer();        if (null == n            || isNaN(n)            || this.pos == n            || 0 > n            || this.buffers.length <= n)        {            // make sure our state is correct            this.setQuery(this.input.value);            return;        }        // save any state from the current buffer, and deactivate it.        if (null != buf) {            buf.setQuery(this.input.value);            buf.setContentSource(this.eval.value);            this.setLabel(this.pos, false);            simulateSelectionStart(this.input);            buf.setSelectionStart(this.input.selectionStart);        }        // activate the new buffer and restore its state        this.last = this.pos;        this.pos = n;        buf = this.getBuffer(n);        this.input.value = buf.getQuery();        this.setContentSource(buf.getContentSource());        this.setLabel(this.pos, true);        this.input.focus();        setSelectionStart(this.input, buf.getSelectionStart());    }
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/9c5f02369bb30e42ba4bb68262eabcbd532d7b22/query.js/clean/query.js