rem: if (isCurveMode) calcFunctionCurves(tmpF); 
add: calcFunctionCurves(tmpF); 
context: function setrange(a, b, courbe){	if ( a >= b) {		ejies.error(this, "bad values for message setrange: min must be lower than max");		return ;	}	var tmpF = frontOrArgument(courbe, arguments, 2);	var i;	var NeedDraw = 0;		tmpF.range = [a, b];	MyRange2Zoom(tmpF);	pixel2machin(tmpF);		for (i = 0; i < tmpF.np; i++) {		tmpF.pa[i].valy = y2val(tmpF, tmpF.pa[i].y);		if (tmpF.pa[i].valy == 0)			NeedDraw++;	}		if (isCurveMode)		calcFunctionCurves(tmpF); 	// added - MR (BUG updated "courbe->tmpF" 20070907)	DoNotify();	// NeedDraw contient le rsultat de la nouvelle courbe (y a t'il un point avec y=0) OnePointAtZero c'est l'tat d'avant.	if (NeedDraw || tmpF.OnePointAtZero)		askForDrawFunctions();}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6421/fd3c2db7ec5622784168e75eedd5145b47e8b8b7/ej.function.js/clean/ejies-jsui/ej.function.js