Merge pull request #141 from ivandrofly/patch-44

Re-pull #128
This commit is contained in:
Nikolaj Olsson 2014-06-12 15:57:10 +02:00
commit e52e66ae88

View File

@ -86,7 +86,7 @@ namespace Nikse.SubtitleEdit.Forms
(e.KeyValue >= 96 && e.KeyValue <= 105))
{
}
else if (e.KeyData == (Keys.Shift | Keys.Home) || e.KeyData == (Keys.Shift | Keys.End))
else if (e.KeyData == (Keys.Shift | Keys.Home) || e.KeyData == (Keys.Shift | Keys.End) || e.KeyData == (Keys.Control | Keys.A))
{
}
else if (e.KeyData == (Keys.Control | Keys.V) && Clipboard.GetText(TextDataFormat.UnicodeText).Length > 0)
@ -95,7 +95,6 @@ namespace Nikse.SubtitleEdit.Forms
int num;
if (!int.TryParse(p, out num))
{
e.Handled = true;
e.SuppressKeyPress = true;
}
}