rem: if (kc == 27 || kc == 37 || kc == 39 || kc == 8 || kc == 9) { 
add: if (kc == 27 || kc == 37 || kc == 39 || kc == 9) { 
context: 	function actb_tocomplete(kc){        if (kc == 27 || kc == 37 || kc == 39 || kc == 8 || kc == 9) {            actb_removedisp();            return;        }        if (kc == 38 || kc == 13 || kc == 18 || kc == 16 || kc == 17 || kc == 20) return;        var i;		if (actb_display){			var word = 0;			var c = 0;			for (var i=0;i<=actb_self.actb_keywords.length;i++){				if (actb_bool[i]) c++;				if (c == actb_pos){					word = i;					break;				}			}			actb_pre = word;		}else{ actb_pre = -1};				if (actb_curr.value == '' && kc != 40){			actb_mouse_on_list = 0;			actb_removedisp();			return;		}		if (actb_self.actb_delimiter.length > 0){			caret_pos_start = getCaretStart(actb_curr);			caret_pos_end = getCaretEnd(actb_curr);						delim_split = '';			for (i=0;i<actb_self.actb_delimiter.length;i++){				delim_split += actb_self.actb_delimiter[i];			}			delim_split = delim_split.addslashes();			delim_split_rx = new RegExp("(["+delim_split+"])");			c = 0;			actb_delimwords = new Array();			actb_delimwords[0] = '';			for (i=0,j=actb_curr.value.length;i<actb_curr.value.length;i++,j--){				if (actb_curr.value.substr(i,j).search(delim_split_rx) == 0){					ma = actb_curr.value.substr(i,j).match(delim_split_rx);					actb_delimchar[c] = ma[1];					c++;					actb_delimwords[c] = '';				}else{					actb_delimwords[c] += actb_curr.value.charAt(i);				}			}			var l = 0;			actb_cdelimword = -1;			for (i=0;i<actb_delimwords.length;i++){				if (caret_pos_end >= l && caret_pos_end <= l + actb_delimwords[i].length){					actb_cdelimword = i;				}				l+=actb_delimwords[i].length + 1;			}			var ot = actb_delimwords[actb_cdelimword].trim(); 			var t = actb_delimwords[actb_cdelimword].addslashes().trim();		}else{			var ot = actb_curr.value;			var t = actb_curr.value.addslashes();		}		if (ot.length == 0 && kc != 40){            actb_mouse_on_list = 0;			actb_removedisp();		}		if (ot.length < actb_self.actb_startcheck) return this;        if (actb_self.actb_no_filter) {            var re = new RegExp("");		} else if (actb_self.actb_firstText){			var re = new RegExp("^" + t, "i");		}else{			var re = new RegExp(t, "i");		}		actb_total = 0;		actb_tomake = false;		actb_kwcount = 0;		for (i=0;i<actb_self.actb_keywords.length;i++){			actb_bool[i] = false;			if (re.test(actb_self.actb_keywords[i])){				actb_total++;				actb_bool[i] = true;				actb_kwcount++;				if (actb_pre == i) actb_tomake = true;			}		}		if (actb_toid) clearTimeout(actb_toid);		if (actb_self.actb_timeOut > 0) actb_toid = setTimeout(function(){actb_mouse_on_list = 0;actb_removedisp();},actb_self.actb_timeOut);		actb_generate();	}
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7801/47a3b581893bf9689458c9a14bbb429cb9bf0a13/suggest-actb.js/clean/src/examples/web/ops/javascript/suggest-actb.js