Created
July 15, 2009 04:15
-
-
Save noahrichards/147439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Export(typeof(ITaggerProvider))] | |
[TagType(typeof(SquiggleTag))] // this will probably be "IErrorTag" in the next release | |
[ContentType("text")] // "text" is the base of basically all content types | |
internal sealed class ToDoTaggerProvider : ITaggerProvider | |
{ | |
// Note: the "context" arg has been removed, but is still there in Beta 1 | |
public ITagger<T> GetTagger<T>(ITextBuffer buffer, IEnvironment context) where T : ITag | |
{ | |
return new ToDoTagger() as ITagger<T>; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment