/* CReplace.h
 *
 */
/*
 * Copyright (C) 1985-1992  New York University
 * Copyright (C) 1994 George Washington University
 * 
 * This file is part of the GWAdaEd system, an extension of the Ada/Ed-C
 * system.  See the Ada/Ed README file for warranty (none) and distribution
 * info and also the GNU General Public License for more details.
 */


#pragma once

#include "CTask.h"		/* Interface for its superclass */

CLASS CTextDocument;

class CReplace : public CTask {

public:
	long	selStart, selEnd;
	Str255	selStr;

	long	repStart, repEnd;
	Str255	repStr;

	CTextDocument	*itsDoc;

	void		IReplace(CTextDocument *doc, Str255 rep);

	virtual void		Undo(void);
};
