diff --git a/Terminal.Gui/View/Navigation/TabBehavior.cs b/Terminal.Gui/View/Navigation/TabBehavior.cs index 1fd87b7d6..e1957718d 100644 --- a/Terminal.Gui/View/Navigation/TabBehavior.cs +++ b/Terminal.Gui/View/Navigation/TabBehavior.cs @@ -16,7 +16,7 @@ public enum TabBehavior TabStop = 1, /// - /// The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user preesses (`Ctrl-PageDown`). + /// The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user presses (`Ctrl-PageDown`). /// TabGroup = 2, } diff --git a/Terminal.Gui/View/View.Navigation.cs b/Terminal.Gui/View/View.Navigation.cs index e4f43e90f..4471705d5 100644 --- a/Terminal.Gui/View/View.Navigation.cs +++ b/Terminal.Gui/View/View.Navigation.cs @@ -30,7 +30,7 @@ public partial class View // Focus and cross-view navigation management (TabStop /// /// /// - /// If will advance into ... + /// /// /// if focus was changed to another subview (or stayed on this one), /// otherwise. diff --git a/UnitTests/View/NavigationTests.cs b/UnitTests/View/NavigationTests.cs index ccee7dd5a..894a7bf00 100644 --- a/UnitTests/View/NavigationTests.cs +++ b/UnitTests/View/NavigationTests.cs @@ -1895,8 +1895,6 @@ public class NavigationTests (ITestOutputHelper _output) : TestsAllViews // Start with the focus on our test view view.SetFocus (); - int tries = 0; - Key [] navKeys = new Key [] { Key.Tab, Key.Tab.WithShift, Key.CursorUp, Key.CursorDown, Key.CursorLeft, Key.CursorRight }; if (view.TabStop == TabBehavior.TabGroup)