I have implemented an annotate function in the Visual Studio Extension AnkhSVN2019 using a custom margin on an editor window.
In the current version, the tab on the editor window just contains the filename, and looks identical to a normal editor window. I would like to modify the caption, for example by appending the word "Annotated".
I am opening the editor window with
dte.ItemOperations.OpenFile
In the margin factory, I get the interface IWpfTextViewHost.
How can I modify the caption in the tab?