CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    EnvDTE. Get text

    I am editing vs add-in. I need to get text from the beginning of the document to the current position.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: EnvDTE. Get text

    *What* are you "editing"?
    What is EnvDTE?
    Victor Nijegorodov

  3. #3
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: EnvDTE. Get text

    Quote Originally Posted by user008 View Post
    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...

  4. #4
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    Re: EnvDTE. Get text

    Quote Originally Posted by VladimirF View Post
    Is it necessary to use selection? It makes blinking.

  5. #5
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: EnvDTE. Get text

    Quote Originally Posted by user008 View Post
    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...

  6. #6
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    Re: EnvDTE. Get text

    I don't understand how to use EditPoint. Can anybody help?

  7. #7
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: EnvDTE. Get text

    Quote Originally Posted by user008 View Post
    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
  •  





Click Here to Expand Forum to Full Width

Featured