|
-
September 6th, 2011, 06:09 AM
#1
EnvDTE. Get text
I am editing vs add-in. I need to get text from the beginning of the document to the current position.
-
September 6th, 2011, 08:56 AM
#2
Re: EnvDTE. Get text
*What* are you "editing"?
What is EnvDTE?
Victor Nijegorodov
-
September 6th, 2011, 09:42 AM
#3
Re: EnvDTE. Get text
 Originally Posted by user008
I am editing vs add-in. I need to get text from the beginning of the document to the current position.
Check out Document.Selection Property
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
September 6th, 2011, 11:13 AM
#4
Re: EnvDTE. Get text
 Originally Posted by VladimirF
Is it necessary to use selection? It makes blinking.
-
September 6th, 2011, 05:05 PM
#5
Re: EnvDTE. Get text
 Originally Posted by user008
Is it necessary to use selection? It makes blinking.
I have not used it, but you could try EditPoint.GetText Method
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
September 7th, 2011, 09:11 AM
#6
Re: EnvDTE. Get text
I don't understand how to use EditPoint. Can anybody help?
-
September 7th, 2011, 09:51 AM
#7
Re: EnvDTE. Get text
 Originally Posted by user008
I don't understand how to use EditPoint. Can anybody help?
You may want to try one of the .net forums. We don't really do .net here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|