Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VSIX - Find TextUndoTransaction object that belongs to “Replace” action

$
0
0

Is there a possibility to find the ITextUndoTransaction (https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.operations.itextundotransaction.aspx) object, that belongs to a find-replace(all) action on an ITextBuffer? I have already looked at the CurrentTransaction property (https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.operations.itextundohistory.currenttransaction.aspx) in the ITextUndoHistory of the ITextBuffer where the replace action was applied to. But that property was always null in the Changing, Changed, ChangedLowPriority, ChangedHighpriority and PostChanged events, on the moment of the find-replace.

I hope what I have requested is possible. Thanks in advance for any help you are able to provide. 



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>