ExtendExtend (row, col) int row, col;
ExtendExtend (int row, int col)
ExtendExtend (row, col)    int row, col;{	int coord = Coordinate(row, col);		TRACE(("ExtendExtend row=%d, col=%d\n", row, col))	if (eventMode == LEFTEXTENSION 	 && (coord + (selectUnit!=SELECTCHAR)) > Coordinate(endSRow, endSCol)) {		/* Whoops, he's changed his mind.  Do RIGHTEXTENSION */		eventMode = RIGHTEXTENSION;		startERow = saveStartRRow;		startECol = saveStartRCol;	} else if (eventMode == RIGHTEXTENSION	 && coord < Coordinate(startSRow, startSCol)) {	 	/* Whoops, he's changed his mind.  Do LEFTEXTENSION */		eventMode = LEFTEXTENSION;		endERow   = saveEndRRow;		endECol   = saveEndRCol;	}	if (eventMode == LEFTEXTENSION) {		startERow = row;		startECol = col;	} else {		endERow = row;		endECol = col;	}	ComputeSelect(startERow, startECol, endERow, endECol, False);}