rem: { var rowspan = this.matrix[r].cells[c].rowspan; var colspan = this.matrix[r].cells[c].colspan; for (i=r;i<this.rows && i<r + rowspan;i++) for (j=c;j<this.cols && j<c + colspan;j++) if ((i != r || j != c) && (this.matrix[i].cells[j].colspan > 1 || this.matrix[i].cells[j].rowspan > 1)) { return false; } 
add: { var rowspan = this.matrix[r].cells[c].rowspan; var colspan = this.matrix[r].cells[c].colspan; for (i=r;i<this.rows && i<r + rowspan;i++) for (j=c;j<this.cols && j<c + colspan;j++) if ((i != r || j != c) && (this.matrix[i].cells[j].colspan > 1 || this.matrix[i].cells[j].rowspan > 1)) { return false; } 
context: 	this.refreshCell = function(r, c)	{		var rowspan = this.matrix[r].cells[c].rowspan;		var colspan = this.matrix[r].cells[c].colspan;		for (i=r;i<this.rows && i<r + rowspan;i++)			for (j=c;j<this.cols && j<c + colspan;j++)				if ((i != r || j != c) && (this.matrix[i].cells[j].colspan > 1 || this.matrix[i].cells[j].rowspan > 1)) {					return false;				}		for (i=r;i<this.rows && i<r + rowspan;i++)			for (j=c;j<this.cols && j<c + colspan;j++) {				if (i != r || j != c) this.matrix[i].cells[j].visible = false;			}		return true;	}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/527cf5457da0bbcd901319db3fb78a7f3c74d57b/table-editor.js/clean/fudge/wysiwyg/plugins/table_editing/table-editor.js