rem: if((!(thisattr&0x80) && lastattr&0x80) || (!(thisattr&0x08) && lastattr&0x08)) { 
add: if(((!(thisattr&0x80)) && (lastattr&0x80)) || ((!(thisattr&0x08)) && (lastattr&0x08))) { 
context: function make_strings(soft,embed_colour){	var i;	var str='';	var attrs='';	/* ToDo: Do we want to explicitly init the attr if it's normal? */	var lastattr=7;	var thisattr;	for(i=0; i<line.length; i++) {		if(embed_colour) {			for(j=0;j<line[i].text.length;j++) {				if((thisattr=ascii(line[i].attr.substr(j,1)))!=lastattr) {					/* Disable HIGH and BLINK if required */					if((!(thisattr&0x80) && lastattr&0x80) || (!(thisattr&0x08) && lastattr&0x08)) {						lastattr=7;						str+='\x01N';					}					if(thisattr&0x80 && (!lastattr&0x80))			/* Blink */						str+='\x01I';					if(thisattr&0x08 && (!lastattr&0x08))			/* High Intensity */						str+='\x01H';					if((thisattr&0x07) != (lastattr&0x07)) {						switch(thisattr&0x07) {							case BLACK:								str+='\x01K';								break;							case RED:								str+='\x01R';								break;							case GREEN:								str+='\x01G';								break;							case BROWN:								str+='\x01Y';								break;							case BLUE:								str+='\x01B';								break;							case MAGENTA:								str+='\x01M';								break;							case CYAN:								str+='\x01C';								break;							case WHITE:								str+='\x01W';								break;						}					}					if((thisattr&0x70) != (lastattr&0x70)) {						switch((thisattr&0x70)>>4) {							case BLACK:								str+='\x010';								break;							case RED:								str+='\x011';								break;							case GREEN:								str+='\x012';								break;							case BROWN:								str+='\x013';								break;							case BLUE:								str+='\x014';								break;							case MAGENTA:								str+='\x015';								break;							case CYAN:								str+='\x016';								break;							case WHITE:								str+='\x017';								break;						}					}					lastattr=thisattr;				}				str+=line[i].text.substr(j,1);			}		}		else {			str+=line[i].text;			attrs+=line[i].attr;		}		if(soft || line[i].hardcr) {			/* Trim whitespace from end */			str=str.replace(/(\s*)$/,function (str, spaces, offset, s) {				if(!embed_colour) {					/* Remove attributes for trimmed spaces */					attrs=attrs.substr(0,attrs.length-spaces.length);				}				return('');			});			str+='\r\n';			attrs+=attrs.substr(-1)+attrs.substr(-1);		}	}	return(new Array(str,attrs));}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/ef9c6218cc9c36ff04856175f97eba7cc1cf2b41/fseditor.js/clean/fseditor.js