RichEdit.OnChange. RichEdit remembers the last 100 changes and yes it does know when that buffer is empty. I don't have Delphi on this system, but there is a check you can make to see if that buffer is empty... sorry I can't be more help on that right now.
Dave --- On Fri, 4/2/10, Doug Hale <[email protected]> wrote: From: Doug Hale <[email protected]> Subject: Re: [delphi-en] Detecting Change - RichEdit To: [email protected] Date: Friday, April 2, 2010, 6:41 AM I would suggest using synedit, it has the change flag built in, and it is a cool editor. it is available at http://sourceforge. net/projects/ synedit/files/ I have used it for a number of projects with great success. Doug On 4/2/2010 6:41 AM, c80840 wrote: > Hi all: > > I hope you can help. I'm writing a program to modify text files. What I do > is load the file in a RichEdit control (set to plain text only), and modify > the data. Then I plan on saving it back out, if there were changes made. > Unless I missed something, I can't find a property that flags this (e.g. > RichEdit1.<whatever >). Then, on top of this, let's say the RichEdit control > had "ZZZ" added to it, then I used CTRL-Z to remove it, which put it back to > the way it was originally loaded. If there is such a property, will it > figure out what it is still the same, since the CTRL-Z removed the "ZZZ"? > > Thanks in advance. > > > > > > ------------ --------- --------- ------ > > ------------ --------- --------- --------- --------- ----- > Home page: http://groups. yahoo.com/ group/delphi- en/ > To unsubscribe: delphi-en-unsubscri b...@yahoogroups. comYahoo! Groups Links > > > > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.800 / Virus Database: 271.1.1/2784 - Release Date: 04/01/10 > 12:32:00 > > [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]

