I am trying to write an extension that can access the TextUndoHistory of VS editor.
Should I implement ITextUndoHistory and ITextUndoTransaction myself or is there something that I can connect to using the SDK?
Thanks Nick
You import ITextUndoHistoryRegistry from the [Export] ed MEF component and call TryGetHistory to get the history for this buffer. See. MarginFactory.cs of my FixMixedTabs extension for example (in the same expansion InformationBar.cs shows how to create a transaction history canceled).
ITextUndoHistoryRegistry
[Export]
TryGetHistory
Source: https://habr.com/ru/post/1397143/More articles:How does git push work? - gitSuppress output from popen () - cHow to make custom UIView accessible? - iphoneUndo / Redo Log Actions in Visual Studio Extension - c #dirname (__ FILE__) on localhost - phpWhy do I get this output in PowerShell -unique Count sorting - powershellhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1397145/emberjs-data-what-js-fileslibraries-to-include&usg=ALkJrhhDOuTHEtQkXWT6tIkS7jW4Qo6bCgto record video from AVFoundation with custom sizes? - iosIs there a clean way to use the Builder pattern to build a layered tree? - javaAn elegant and supported way to populate tree structures in C # - c #All Articles