Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
[TextEditor] VSSetting importer can now handle transparent plain text
Browse files Browse the repository at this point in the history
colors.
I think these styles are not correct, but they're out there ...
  • Loading branch information
Mike Krüger committed Feb 20, 2013
1 parent 734d386 commit 1a0a360
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ public static ColorScheme Import (string fileName, Stream stream)
if (color.Info.GetValue (result, null) == null)
color.Info.SetValue (result, color.Info.GetValue (defaultStyle, null), null);
}

Console.WriteLine ("PLAIN TEXT:" + ColorToMarkup (result.PlainText.Background));
if (result.PlainText.TransparentForeground)
result.PlainText.Foreground = new Cairo.Color (0, 0, 0);
return result;
}

Expand Down

0 comments on commit 1a0a360

Please sign in to comment.