Browse Source

Fixed TextView

Tig Kindel 1 year ago
parent
commit
169f34d573
2 changed files with 523 additions and 821 deletions
  1. 522 821
      Terminal.Gui/Views/TextView.cs
  2. 1 0
      UnitTests/Views/TextViewTests.cs

File diff suppressed because it is too large
+ 522 - 821
Terminal.Gui/Views/TextView.cs


+ 1 - 0
UnitTests/Views/TextViewTests.cs

@@ -6200,6 +6200,7 @@ This is the second line.
 ", _output);
 
 		((FakeDriver)Application.Driver).SetBufferSize (6, 25);
+		tv.SetRelativeLayout (Application.Driver.Bounds);
 		tv.Draw ();
 		Assert.Equal (new Point (4, 2), tv.CursorPosition);
 		Assert.Equal (new Point (12, 0), cp);

Some files were not shown because too many files changed in this diff