Question about ITextUndoHistory returned from TryGetHistory
Posted
by nick.ueda
on Stack Overflow
See other posts from Stack Overflow
or by nick.ueda
Published on 2010-05-31T23:06:50Z
Indexed on
2010/05/31
23:13 UTC
Read the original article
Hit count: 270
visual-studio-2010
|extension
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