Dan Petitt wrote:
Is there any way of getting at the undo history, like the last modifications
made given an index into the history ... Would probably need
UNDOHISTORYCOUNT and GETUNDOHISTORYITEM(nIndex) messages, so you could go
GETUNDOHISTORYITEM( UNDOHISTORYCOUNT - 1 ) and then work backwards from
count. It would be good if the history item gave back a structure with the
Position and Characters Added/Deleted.

Is this possible/difficult to add?

I believe that given that there have been some recent changes in Scintilla to support a slightly different model, you might want to try it out instead: watch the [relevant] modification notifications and maintain your own stack in the container app (keeping as much or as little detail as needed).

I *think* that is what was up with some recent updates - my only work with the innards of the undo stack mechanism was concerned with specific aspects of performance. ;)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to