Hi,
I'm trying to figure out how to display an image inside an InfoTip but cannot figure it out. In the sample app, inside the SimpleSyntaxLanguage class you use the following inside the GetQuickInfoForFunctionDeclaration method.I assume that's where you load the image. However, I don't quite follow what's happening here. What is resource:PublicMethod? And, more importantly, how and where do you tell it what that image is?
Note that I'm not using a language class when loading my language, I'm just loading it straight from the XML file using SyntaxDocument.LoadLanguageFromXml (not sure if that makes a difference). Also, all of my icons/images are embedded resources (again, not sure if that makes a difference).
By the way, cool changes on the forum. Oh, and if I haven't mentioned it before, this product is just awesome.
Thanks,
Karl
I'm trying to figure out how to display an image inside an InfoTip but cannot figure it out. In the sample app, inside the SimpleSyntaxLanguage class you use the following inside the GetQuickInfoForFunctionDeclaration method.
result.Append("<img src=""resource:PublicMethod"" align=""absbottom""/> ")
Note that I'm not using a language class when loading my language, I'm just loading it straight from the XML file using SyntaxDocument.LoadLanguageFromXml (not sure if that makes a difference). Also, all of my icons/images are embedded resources (again, not sure if that makes a difference).
By the way, cool changes on the forum. Oh, and if I haven't mentioned it before, this product is just awesome.
Thanks,
Karl