diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs
index beeff72ea..ed749d67d 100644
--- a/Terminal.Gui/Core/View.cs
+++ b/Terminal.Gui/Core/View.cs
@@ -3160,14 +3160,17 @@ namespace Terminal.Gui {
}
///
- /// Finds which view that belong to the at the provided location.
+ /// Finds which view that belong to the superview at the provided location.
///
- /// The view where to look for.
- /// The column location.
- /// The row location.
- /// The found view column location.
- /// The found view row location.
- /// The view that belong to the provided location.
+ /// The superview where to look for.
+ /// The column location in the superview.
+ /// The row location in the superview.
+ /// The found view screen relative column location.
+ /// The found view screen relative row location.
+ ///
+ /// The view that was found at the and coordinates.
+ /// if no view was found.
+ ///
public static View FindDeepestView (View start, int x, int y, out int resx, out int resy)
{
var startFrame = start.Frame;
diff --git a/UnitTests/Menus/ContextMenuTests.cs b/UnitTests/Menus/ContextMenuTests.cs
index 03df8de50..7368ff1a4 100644
--- a/UnitTests/Menus/ContextMenuTests.cs
+++ b/UnitTests/Menus/ContextMenuTests.cs
@@ -907,14 +907,14 @@ namespace Terminal.Gui.MenuTests {
public void Draw_A_ContextManu_Over_A_Dialog ()
{
var top = Application.Top;
- var win = new Window ("Window");
+ var win = new Window ();
top.Add (win);
Application.Begin (top);
((FakeDriver)Application.Driver).SetBufferSize (20, 15);
Assert.Equal (new Rect (0, 0, 20, 15), win.Frame);
TestHelpers.AssertDriverContentsWithFrameAre (@"
-┌ Window ──────────┐
+┌──────────────────┐
│ │
│ │
│ │
@@ -930,15 +930,15 @@ namespace Terminal.Gui.MenuTests {
│ │
└──────────────────┘", output);
- var dialog = new Dialog ("Dialog") { X = 2, Y = 2, Width = 15, Height = 4 };
+ var dialog = new Dialog () { X = 2, Y = 2, Width = 15, Height = 4 };
dialog.Add (new TextField ("Test") { X = Pos.Center (), Width = 10 });
var rs = Application.Begin (dialog);
Assert.Equal (new Rect (2, 2, 15, 4), dialog.Frame);
TestHelpers.AssertDriverContentsWithFrameAre (@"
-┌ Window ──────────┐
+┌──────────────────┐
│ │
-│ ┌ Dialog ─────┐ │
+│ ┌─────────────┐ │
│ │ Test │ │
│ │ │ │
│ └─────────────┘ │
@@ -964,9 +964,9 @@ namespace Terminal.Gui.MenuTests {
var firstIteration = false;
Application.RunMainLoopIteration (ref rs, true, ref firstIteration);
TestHelpers.AssertDriverContentsWithFrameAre (@"
-┌ Window ──────────┐
+┌──────────────────┐
│ │
-│ ┌ Dialog ─────┐ │
+│ ┌─────────────┐ │
│ │ Test │ │
┌───────────────────
│ Select All Ctrl+