1

I have been reading the MSDN documentation on VSPackages about the editors and so-forth, but I am failing to see anything in the samples or on MSDN regarding watching the built-in editors from a VSPackage. It all seems to be information on building custom editors.

I would like to receive notifications when the current selected file is changed, or events happen inside the editor such as typing, and so forth.

Also, if this is not possible or a pain, I could also switch to development via a add-in?

Cheers,
MiG

4

1 回答 1

1

似乎它是我所追求的正在运行的文档表,并且 Visual Studio SDK 中有一个示例连接到它的各种事件。

如果有人感兴趣,有一个 Deep Dive 会更详细地解释它:

http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=RunDocEventExplrDD&DownloadId=5205

于 2009-11-10T18:18:08.237 回答