Visual Studio Hacks
Book Info

Errata

by javery on February 29, 2008

[406]  2nd code snippet;

        EnvDTE.TextDocument textDoc =
(EnvDTE.TextDocument)applicationObject.ActiveDocument.Object("TextDocument");

should be inserted before the line:

        string selectedText = textDoc.Selection.Text;
blog comments powered by Disqus

Previous post: Book Excepts

Next post: Table of Contents