On Sun, 8 Oct 2006 16:34:28 +0200, Enrico Tröger <[EMAIL PROTECTED]> wrote:
> On Mon, 2 Oct 2006 14:32:37 +0200, "Armel Asselin" > <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > > as promised here is a patch which adds the 'start action' > > notification flag (SC_START_ACTION). > > This notification happens when a first action is added to a > > scintilla transaction. It allows to synchronize a container's stack > > easily by simply adding a ScintillaAction in container list of > > actions for the currently opened container transaction or to open > > such a transaction if not yet (when Scintilla is free to edit > > files). > > It's great, thanks. > I played with it and it seems to work fine and I will use it. Neil, me > (and Armin probably too) will be happy, if you would apply it. > > But: > I got a strange behaviour when clearing all undo and redo actions, > maybe it's a wrong implementation inside the container. In the > container I delete all elements of the container's undo stack and then > I send SCI_EMPTYUNDOBUFFER to Scintilla to ensure everything is > deleted. When a new undo action is created in Scintilla, it sends the > SC_START_ACTION notification twice. Forget the above problem. It was a problem in the container code, no problem with Scintilla. Armel's patch is fine. 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
