Created
June 12, 2009 22:25
-
-
Save noahrichards/128978 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
// Make the background goldenrod yellow :) | |
[Export(typeof(IWpfTextViewCreationListener))] | |
[ContentType("text")] | |
[TextViewRole(PredefinedTextViewRoles.Document)] | |
internal sealed class CreationListener : IWpfTextViewCreationListener | |
{ | |
public void TextViewCreated(IWpfTextView textView, IEnvironment context) | |
{ | |
textView.Background = Brushes.PaleGoldenrod; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment