mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix MoveEnd name conflicting with base class
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Terminal.Gui {
|
||||
AddCommand (Command.DeleteCharLeft, () => { DeleteCharLeft (); return true; });
|
||||
AddCommand (Command.LeftHome, () => MoveHome ());
|
||||
AddCommand (Command.Left, () => MoveLeft ());
|
||||
AddCommand (Command.RightEnd, () => MoveEnd ());
|
||||
AddCommand (Command.RightEnd, () => { MoveEnd (); return true; });
|
||||
AddCommand (Command.Right, () => MoveRight ());
|
||||
|
||||
// Default keybindings for this view
|
||||
@@ -354,11 +354,6 @@ namespace Terminal.Gui {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MoveEnd ()
|
||||
{
|
||||
CursorPosition = fieldLen;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MoveLeft ()
|
||||
{
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace Terminal.Gui {
|
||||
AddCommand (Command.DeleteCharLeft, () => { DeleteCharLeft (); return true; });
|
||||
AddCommand (Command.LeftHome, () => MoveHome ());
|
||||
AddCommand (Command.Left, () => MoveLeft ());
|
||||
AddCommand (Command.RightEnd, () => MoveEnd ());
|
||||
AddCommand (Command.RightEnd, () => { MoveEnd (); return true; });
|
||||
AddCommand (Command.Right, () => MoveRight ());
|
||||
|
||||
// Default keybindings for this view
|
||||
@@ -272,12 +272,6 @@ namespace Terminal.Gui {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MoveEnd ()
|
||||
{
|
||||
CursorPosition = fieldLen;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MoveLeft ()
|
||||
{
|
||||
DecCursorPosition ();
|
||||
|
||||
Reference in New Issue
Block a user