Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 829447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:53:04+00:00 2026-05-15T03:53:04+00:00

Everytime the IWpfTextView’s TextBuffer changes I am trying to get the history’s redostack and

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:53:04+00:00Added an answer on May 15, 2026 at 3:53 am

    It’s probably because the editor’s undo history implementation in VS is a thin wrapper on top of the general VS undo history. I’d guess that Count isn’t implemented on the editor’s text undo history because there isn’t an implementation on the VS undo history (IOleUndoManager only supports enumeration, so implementing Count would be expensive).

    In general, though, it doesn’t want you editing the contents of the stacks. If the undo stack gets out of sync with the text buffer, it’ll essentially break undo and make small, cute animals cry.

    It may help if you describe what you are trying to do, and then I can give better answers for how to accomplish that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Everytime I open my mdb copy to work on something, I get this little
Everytime call this stored procedure i get this error: #1064 - You have an
Everytime I try to create a subdomain with this combo, it simply says the
I get this error everytime I try to use my content provider to insert
I get this error everytime I try to access phpmyadmin. http://i49.tinypic.com/ot1478.jpg I cant access
Everytime I open VS 2010 I get this: The automatically saved settings file 'visual
Everytime I run the program, this mysterious error pops up saying that I have
Everytime my app start I have it check if there has been any changes
Everytime I get an error in any of my PHP, my local Apache server
Everytime I launch an app I want to show a view and this view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.