rem: if (isCurveMode) calcFunctionCurves(f[front]); 
add: calcFunctionCurves(f[front]); 
context: function insertpaste(){	var c, p, idx;	var OldNp;	var cp = g["copy"];	// c'est moins long	p = idx = 0;		if (cp.length == 0) {		ejies.error(this, "before inserting and pasting, you have to copy something");		return;	}			// insertion de la nouvelle courbe (le nom est bidon, puisqu'on va le remplir aprs)	f.splice(front, 0, new Courbe("tmpName"));	NbCourbes++;	f[front].np = cp[idx++];	f[front].name = cp[idx++];	f[front].domain[0] = cp[idx++];	f[front].domain[1] = cp[idx++];	f[front].range[0] = cp[idx++];	f[front].range[1] = cp[idx++];		f[front].grid_x = cp[idx++];	f[front].grid_y = cp[idx++];	f[front].display = cp[idx++];		for (p = 0; p < f[front].np; p++) {		f[front]["pa"][p] = new Point(cp[idx], cp[idx+1], cp[idx+2], cp[idx+3]);		idx += 4;		f[front]["pa"][p].sustain = cp[idx++];		f[front]["pa"][p].fix = cp[idx++];	}			MyThings2Zoom(f[front]);	pixel2machin(f[front]);	getname();								// mise  jour du menu	if (isCurveMode) calcFunctionCurves(f[front]);			// added MR	UpdateDisplay();}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6421/fd3c2db7ec5622784168e75eedd5145b47e8b8b7/ej.function.js/clean/ejies-jsui/ej.function.js