On Monday 17 March 2008 04:58 pm, Tony Balinski wrote:
> Quoting Bert Wesarg <[EMAIL PROTECTED]>:
> > >    * modified_hook--modify it to report what has changed in the textBuf
> > should this be fired before or after the change happen? so, should it
> > report what will happen, or what happened?
> If there's a modification, you should be able to pick it up from undo
> information. This implies that at least one level of undo information should
> be available at all times, even when the undo function is turned off.
> Accessing undo information could be useful in many areas (particularly 
type-in
> and word completion macros).

Yes, that sounds like it would work.  IIUC, having "at least one level of undo 
information ... available at all times" is a change?

> > >    * modified_rangeset_hook--should report the change(s) (additions,
> > >  deletions, locations)
> Support for storing rangeset info in the undo list? Hmm best avoided. 
However,
> it would be great to allow dragging of rangesetted text which wouldn't wipe
> out intermediate ranges.

Good, so it might serve multiple purposes!

Randy Kramer

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to