Question about the ITextUndoHistory that gets returned from TryGetHistory
Posted
by Nick U
on Stack Overflow
See other posts from Stack Overflow
or by Nick U
Published on 2010-05-31T23:06:50Z
Indexed on
2010/05/31
23:33 UTC
Read the original article
Hit count: 238
visual-studio-2010
|extensions
Everytime the IWpfTextView's TextBuffer changes I am trying to get the history's redostack and undostack and simply checking the count. When doing this I am encountering a "Method not supported exception" when trying to access the two stacks.
Am I retrieving the history incorrectly or does VS not want me seeing/editing the contents of the stacks?
I can post the code if necessary...
Thanks, Nick
© Stack Overflow or respective owner