Code cleanup

This commit is contained in:
Tig
2024-08-02 10:59:53 -06:00
parent 469b3572d5
commit 2f71fc0bc3
3 changed files with 2 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ public enum TabBehavior
TabStop = 1,
/// <summary>
/// The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user preesses <see cref="Application.NextTabGroupKey"/> (`Ctrl-PageDown`).
/// The View will be a stop-point for keyboard-based navigation across groups (e.g. if the user presses <see cref="Application.NextTabGroupKey"/> (`Ctrl-PageDown`).
/// </summary>
TabGroup = 2,
}

View File

@@ -30,7 +30,7 @@ public partial class View // Focus and cross-view navigation management (TabStop
/// </para>
/// </remarks>
/// <param name="direction"></param>
/// <param name="groupOnly">If <see langword="true"/> will advance into ...</param>
/// <param name="behavior"></param>
/// <returns>
/// <see langword="true"/> if focus was changed to another subview (or stayed on this one), <see langword="false"/>
/// otherwise.

View File

@@ -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)