>Take a look at the AdornmentsSquigglesIntro QuickStart as that shows you how to use our built-in squiggle adornments (you effectively just return tags that implement ISquiggleTag).
Yes, but the difference, as I see it, is that the information about what to underline comes from within the class and not from the outside. I'm still not sure how to add "tags" from outside the SyntaxEditor-space, which was also a part of my previous question. I now have a CodeValidationIssueTagger, which inherits CollectionTagger<ISquiggleTag>, but how do I, from my main window, get access to it and add information about what to underline? I have looked into the GetService() method on the Language, but no matter what I do, I can't seem to get an object out that allows me to add stuff to it. So I guess what I really need to know, is how to access AND supply information to the tagger from the outside, which in this situation is my main window, where all the interesting stuff is happening :)
Edit: Okay, judging from the IntraTextNoteTagger demo, I'm supposed to use the Properties collection on the Document, to get my tagger and not the GetService() method on the Language. That wasn't very clear to me, since it's being added with the RegisterService() method :). I guess I just got one step closer!
Edit 2: Yes, once I had access to the CollectionTagger instance from my main window, and realized that there was now actually nothing left for my own Tagger implementation to do, it seems to work!!
[Modified at 01/26/2012 04:39 AM]
[Modified at 01/26/2012 05:04 AM]