|
Hello,
as promised, here is a patch to scintilla which
makes it send new notifications SC_START_ACTION each time that a new undo/redo
transaction (which is the result of user action) begins. It allows to faithfully
synchronize an external undo/redo stack with the undo/redo stack of scintilla by
starting your own transaction each time you get this notification. This
notification is sent as well when calling BeginUndoAction if it is at top-level
(i.e. not nested inside another BeginUndoAction).
I put the patch as an attachment so that it does
not get corrupted by the mailers.
It modifies several files, with for each of them
just some lines (mostly returning a simple boolean), no existing behaviour is
modified.
Regards
Armel
|
scintilla-transaction.patch
Description: Binary data
_______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
