On Wed, 13 Sep 2006 03:18:58 -0700, "SourceForge.net" <[EMAIL PROTECTED]> wrote:
> Feature Requests item #1554211, was opened at 2006-09-08 02:10 > Message generated for change (Comment added) made by nyamatongwe > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=352439&aid=1554211&group_id=2439 > > [...] > Summary: Notification when a new Undo action is available > > Initial Comment: > Hi, > > it would be nice, if Scintilla sends a notification to > the container when a new undo action is stored. > This would ease the implementation of an own Undo stack > in the container application. > > I attached a small, incomplete patch which shows where > the notification should be sent(at least IMO). But I > don't find a way to send the notification out of a > CellBuffer object. I hope the patch helps anyway. > > It would be really nice to have this feature. > > regards, > Enrico > > > ---------------------------------------------------------------------- > > >Comment By: Neil Hodgson (nyamatongwe) > Date: 2006-09-13 20:18 > > Message: > Logged In: YES > user_id=12579 > > The CellBuffer file is layered away from notifications so > that it has a simple isolated job to perform. To merge code > that exposes information like this, the notification code > should be in Document, possibly with a way to get a form of > action number out of CellBuffer. A less intrusive design may > be to allow querying the action number from user code. It > may be an idea to bring this up on the mailing list to see > what ideas others have had. Ok, here it is. What do you think? Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.key _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
