#672 - Textfield support for home and end

This commit is contained in:
Paul Chote
2011-03-26 10:35:58 +13:00
parent ea626d4b39
commit 23eb077417

View File

@@ -116,6 +116,18 @@ namespace OpenRA.Widgets
return true;
}
if (e.KeyName == "home")
{
CursorPosition = 0;
return true;
}
if (e.KeyName == "end")
{
CursorPosition = Text.Length;
return true;
}
if (e.KeyName == "delete")
{