mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 00:38:00 +01:00
Code cleanup
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user