Skip to content

Commit

Permalink
Merge pull request #73 from pver/texteditorsettings
Browse files Browse the repository at this point in the history
Prefixed Text Editor Color Settings Labels
  • Loading branch information
pver committed May 29, 2015
2 parents 965938c + 544a7b2 commit 1aa6d9d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions OpenCover.UI/Tagger/TextBackground.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//
//
// This source code is released under the MIT License; Please read license.md file for more details.
//
using Microsoft.VisualStudio.Text.Classification;
Expand Down Expand Up @@ -29,7 +29,8 @@ public static class NotCoveredTextBackgroundTypeExports
}

/// <summary>
/// Class defining background color for covered classes
/// Class defining background color for covered classes, can be customized by the user through the Text Editor settings
/// in Visual Studio
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypes.TextBackgroundCovered)]
Expand All @@ -43,13 +44,14 @@ public sealed class CoveredTextBackground : ClassificationFormatDefinition
/// </summary>
public CoveredTextBackground()
{
DisplayName = "Covered Text Background";
DisplayName = "OpenCover.UI Covered Text Background";
BackgroundColor = Color.FromRgb(207, 231, 209);
}
}

/// <summary>
/// Class defining background color for covered classes
/// Class defining background color for not covered classes, can be customized by the user through the Text Editor settings
/// in Visual Studio
/// </summary>
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypes.TextBackgroundNotCovered)]
Expand All @@ -63,7 +65,7 @@ public sealed class NotCoveredTextBackground : ClassificationFormatDefinition
/// </summary>
public NotCoveredTextBackground()
{
DisplayName = "Not Covered Text Background";
DisplayName = "OpenCover.UI Not Covered Text Background";
BackgroundColor = Color.FromRgb(255, 217, 217);
}
}
Expand Down

0 comments on commit 1aa6d9d

Please sign in to comment.