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

IVsInvisibleEditor Documentation or Example?

$
0
0

Hi All,

Is there a good resource for working with IVsInvisibleEditor?  I am trying to create a custom tool window in my extension that will display multiple t4 .tt files and allow them to be edited.  I have figured out how to load and show them correctly using the information and links in the SO article (http://stackoverflow.com/questions/17778268/add-custom-editor-windows-to-visual-studio-window-panes) but now my question is how do I save changes back to disk?  My first guess would be to use the GetDocData method to convert the text in the window back to a string and just write that back down to the file I originally opened but I am not sure how it works with the IVsInvisibleEditor.  Since I opened the file using that interface do I somehow need to save the file using that same interface?

Thanks,


Frank


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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