tags:

views:

41

answers:

0

Hi, I am creating a small Visual Studio 2010 extension in C# which uses the IWpfTextViewCreationListener and TextViewCreated to capture when a new TextView is opened in the VS environment. The problem I am having is that this method only fires when a new window is opened via the VS Solution Explorer window, and not fired when VS already contains opened windows when started, and switching window tabs. I have tried looking for something like TextViewChanged, but could not find such method. Is there anyway to capture the new TextView when another tabbed window is selected?

Any help would be greatly appreciated.

This question has also been posted on the MSDN VS Extensibility forum: VSX 2010 - Alternative to TextViewCreated such as (TextViewChanged)?

Thanks

John