I have a visual studio integration package that tracks output from a debug window. I can get the IVsTextView of the output window, for example:
IVsTextView view = GetService(typeof(SVsOutputWindow)) as IVsTextView; // grab text from the view and process it
However, if another panel other than the Debug panel is currently active, then this IVsTextView will have the text from that panel, and not the Debug panel.
Is it possible to get an IVsTextView for a specific output window pane without calling OutputWindowPanel.Activate () before getting the IVsTextView of the output window?
source share