Forums

Clipboard History Plug-in: languageid

Last post 4/1/2009 9:32 PM by Mark Miller (DevExpress). 1 replies.
Sort Posts: Previous Next
  • Jacqueline Pottle

    Clipboard History Plug-in: languageid

    3/18/2009 9:10 AM
    • Not Ranked
    • Joined on 3/18/2009
    • Posts 1

    I'm working through Mark's posts on how to build a plug-in using the Clipboard History Plug-in as his example. I've gotten through the first few stages but I'm having a problem. I'm hoping someone out there can help me. Everything seems to be working but the "LanguageID" is not getting populated (LanguageID comes from the following:

     Public ReadOnly Property LanguageID() As String
         Member of DevExpress.CodeRush.Core.ClipboardEntry
    Summary:The active language ID (e.g., "CSharp", "C/C++", "VB", etc.) at the time of the clipboard operation. 

    I'm not sure where it gets the 'active language', but no matter where I copy the code from (to the clipboard), the languageID comes back blank. It does not seem to be a problem with my code, as when I check the property returned from this object, it is blank. The text is working fine. Please help!!

  • Mark Miller (DevExpress)

    Re: Clipboard History Plug-in: languageid

    4/1/2009 9:32 PM
    • Top 25 Contributor
    • Joined on 5/2/2007
    • Posts 1,335
    Hi Jacqueline,
     
    You're copying the text from inside Visual Studio, right? The LanguageID should correspond to the active language of the file in which the copy or cut operation was performed.

    Best regards,
     
    Mark Miller - Developer Express
    C# MVP
    "Jacqueline Pottle" wrote in message news:254757@community.devexpress.com...

    I'm working through Mark's posts on how to build a plug-in using the Clipboard History Plug-in as his example. I've gotten through the first few stages but I'm having a problem. I'm hoping someone out there can help me. Everything seems to be working but the "LanguageID" is not getting populated (LanguageID comes from the following:

     Public ReadOnly Property LanguageID() As String
         Member of DevExpress.CodeRush.Core.ClipboardEntry
    Summary:The active language ID (e.g., "CSharp", "C/C++", "VB", etc.) at the time of the clipboard operation. 

    I'm not sure where it gets the 'active language', but no matter where I copy the code from (to the clipboard), the languageID comes back blank. It does not seem to be a problem with my code, as when I check the property returned from this object, it is blank. The text is working fine. Please help!!



    http://community.devexpress.com//forums/p/74543/254757.aspx#254757

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.