diff --git a/Terminal.Gui/View/ViewKeyboard.cs b/Terminal.Gui/View/ViewKeyboard.cs
index d1f04c654..080f5380d 100644
--- a/Terminal.Gui/View/ViewKeyboard.cs
+++ b/Terminal.Gui/View/ViewKeyboard.cs
@@ -633,6 +633,7 @@ public partial class View
/// See for an overview of Terminal.Gui keyboard APIs.
///
/// Contains the details about the key that produced the event.
+ /// The scope.
///
/// if the key press was not handled. if the keypress was handled
/// and no other view should see it.
@@ -745,6 +746,7 @@ public partial class View
/// Returns true if Key is bound in this view heirarchy. For debugging
///
///
+ ///
///
public bool IsHotKeyKeyBound (Key key, out View boundView)
{
@@ -779,6 +781,7 @@ public partial class View
/// See for an overview of Terminal.Gui keyboard APIs.
///
/// The key event passed.
+ /// The scope.
///
/// if no command was bound the . if
/// commands were invoked and at least one handled the command. if commands were invoked and at
diff --git a/Terminal.Gui/Views/Line.cs b/Terminal.Gui/Views/Line.cs
index 95a8287c8..6a25fa55b 100644
--- a/Terminal.Gui/Views/Line.cs
+++ b/Terminal.Gui/Views/Line.cs
@@ -11,8 +11,6 @@ public class Line : View
SuperViewRendersLineCanvas = true;
}
- public Dim Length { get; set; } = Dim.Fill ();
-
private Orientation _orientation;
///
@@ -30,12 +28,9 @@ public class Line : View
{
case Orientation.Horizontal:
Height = 1;
- // Width = Length;
- //Border.Thickness = new Thickness (1, 0, 1, 0);
break;
case Orientation.Vertical:
- Height = Length;
Width = 1;
break;
diff --git a/Terminal.Gui/Views/Shortcut.cs b/Terminal.Gui/Views/Shortcut.cs
index 7290537a0..08c7e0a00 100644
--- a/Terminal.Gui/Views/Shortcut.cs
+++ b/Terminal.Gui/Views/Shortcut.cs
@@ -631,7 +631,7 @@ public class Shortcut : View
/// - if the user presses the HotKey specified by CommandView
/// - if HasFocus and the user presses Space or Enter (or any other key bound to Command.Accept).
///
- protected new bool? OnAccept (CommandContext ctx)
+ protected bool? OnAccept (CommandContext ctx)
{
var cancel = false;
diff --git a/Terminal.Gui/Views/Slider.cs b/Terminal.Gui/Views/Slider.cs
index 6dca6f8c4..1b96bda0d 100644
--- a/Terminal.Gui/Views/Slider.cs
+++ b/Terminal.Gui/Views/Slider.cs
@@ -1743,7 +1743,7 @@ public class Slider : View
return true;
}
- internal bool Accept ()
+ internal new bool Accept ()
{
SetFocusedOption ();
diff --git a/UICatalog/Scenario.cs b/UICatalog/Scenario.cs
index df8e510d9..c5a724ba7 100644
--- a/UICatalog/Scenario.cs
+++ b/UICatalog/Scenario.cs
@@ -271,7 +271,7 @@ public class Scenario : IDisposable
/// Defines the category names used to categorize a
[AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
- public class ScenarioCategory (string Name) : System.Attribute
+ public class ScenarioCategory (string name) : System.Attribute
{
/// Static helper function to get the Categories given a Type
///
@@ -291,15 +291,15 @@ public class Scenario : IDisposable
public static string GetName (Type t) { return ((ScenarioCategory)GetCustomAttributes (t) [0]).Name; }
/// Category Name
- public string Name { get; set; } = Name;
+ public string Name { get; set; } = name;
}
/// Defines the metadata (Name and Description) for a
[AttributeUsage (AttributeTargets.Class)]
- public class ScenarioMetadata (string Name, string Description) : System.Attribute
+ public class ScenarioMetadata (string name, string description) : System.Attribute
{
/// Description
- public string Description { get; set; } = Description;
+ public string Description { get; set; } = description;
/// Static helper function to get the Description given a Type
///
@@ -312,6 +312,6 @@ public class Scenario : IDisposable
public static string GetName (Type t) { return ((ScenarioMetadata)GetCustomAttributes (t) [0]).Name; }
/// Name
- public string Name { get; set; } = Name;
+ public string Name { get; set; } = name;
}
}