Fixes #2944. Makes ColorScheme explicitly readonly, removes Colors.Base, etc..., Fixes intermittent TreeView unit test failures (#3175)

* Removed resharper settings from editorconfig

* Moved ColorScheme to ColorScheme.cs

* Moved ColorScheme to ColorScheme.cs

* Potential fix. PlatformColor was not being set by FakeDriver correctly.

* Made ColorScheme effectively readonly

* Removed Color.Base etc... Updated API docs.
This commit is contained in:
Tig
2024-01-15 17:46:53 -07:00
committed by GitHub
parent b84862d0bd
commit 2c725b877f
81 changed files with 614 additions and 563 deletions

View File

@@ -37,7 +37,7 @@ public class TextViewTests {
// 01234567890123456789012345678901=32 (Length)
var buff = Encoding.Unicode.GetBytes (txt);
var ms = new System.IO.MemoryStream (buff).ToArray ();
_textView = new TextView () { Width = 30, Height = 10, ColorScheme = Colors.Base };
_textView = new TextView () { Width = 30, Height = 10, ColorScheme = Colors.ColorSchemes ["Base"] };
_textView.Text = Encoding.Unicode.GetString (ms);
}