add: if (MouseReportState) outlet(DUMPOUT, "mouse",	ejies.clip(x2val(fctns[current], x), fctns[current].domain[0], fctns[current].domain[1]), ejies.clip(y2val(fctns[current], y), fctns[current].range[0], fctns[current].range[1]), but, SelectedPoint); 
context: function onclick(x,y,but,cmd,shift,capslock,option,ctrl){	var tmpF = fctns[current];	if (AllowEdit == 0 || tmpF.display == 0) {		onidle(x, y);		return;	}		if (MouseReportState)		outlet(DUMPOUT, "mouse", x2val(fctns[current], x), ejies.clip(y2val(fctns[current], y), fctns[current].range[0], fctns[current].range[1]));	SelectedPoint = -2;	x = ejies.clip(x - 2, Bordure, BoxWidth - Bordure);	y = ejies.clip(y - 2, Bordure + LegendBordure, BoxHeight - Bordure);	if (IdlePoint != -1) {		SelectedPoint = IdlePoint;		if (cmd) {			tmpF.pa[SelectedPoint].sustain = 1 - tmpF.pa[SelectedPoint].sustain;			EditedWithMouse.state++;			UpdateDisplay();			return ;		}				if (shift && ClickAdd) {			DeletePoint(tmpF, SelectedPoint);			SelectedPoint = -1;			ApplyAutoSustain();			EditedWithMouse.state++;			EditedWithMouse();			notifyclients();			onidle(x, y);	// pour ne pas afficher la position (puisqu'on y est)			return;		}	}	if (SelectedPoint != -2 && ClickMove == 0)	// ClickMove dsactiv		SelectedPoint = -1;	// ajout d'un point	if (cmd == 0 && shift == 0 && SelectedPoint == -2 && ClickAdd == 1) {		if ( Snap2GridState )			x = val2x(tmpF, Math.round((x2val(tmpF, x) - tmpF.domain[0]) / tmpF.GridStep) * tmpF.GridStep + tmpF.domain[0]);		SelectedPoint = AddPoint(tmpF, x, y);		ApplyAutoSustain();		EditedWithMouse.state++;		notifyclients();		onidle(x,y);	}}
meta: 6421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6421/88df6a0b8b4a2372a89baf38cb59b5676710537b/ej.function.js/buggy/ejies-jsui/ej.function.js