mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-21 18:52:36 +01:00
parent
b0df6412d0
commit
371cab9a1b
@ -253,20 +253,6 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
AddValue(-Increment);
|
||||
e.Handled = true;
|
||||
}
|
||||
else if (InterceptArrowKeys && e.KeyCode == Keys.Up)
|
||||
{
|
||||
AddValue(Increment);
|
||||
e.Handled = true;
|
||||
}
|
||||
else if (e.KeyData != (Keys.Tab | Keys.Shift) &&
|
||||
e.KeyData != Keys.Tab &&
|
||||
e.KeyData != Keys.Left &&
|
||||
e.KeyData != Keys.Right)
|
||||
{
|
||||
_dirty = true;
|
||||
KeyDown?.Invoke(sender, e);
|
||||
Invalidate();
|
||||
}
|
||||
else if (e.Modifiers == Keys.Control && e.KeyCode == Keys.A)
|
||||
{
|
||||
_textBox.SelectAll();
|
||||
@ -282,6 +268,20 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
_textBox.Paste();
|
||||
e.SuppressKeyPress = true;
|
||||
}
|
||||
else if (InterceptArrowKeys && e.KeyCode == Keys.Up)
|
||||
{
|
||||
AddValue(Increment);
|
||||
e.Handled = true;
|
||||
}
|
||||
else if (e.KeyData != (Keys.Tab | Keys.Shift) &&
|
||||
e.KeyData != Keys.Tab &&
|
||||
e.KeyData != Keys.Left &&
|
||||
e.KeyData != Keys.Right)
|
||||
{
|
||||
_dirty = true;
|
||||
KeyDown?.Invoke(sender, e);
|
||||
Invalidate();
|
||||
}
|
||||
else
|
||||
{
|
||||
KeyDown?.Invoke(sender, e);
|
||||
@ -407,6 +407,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
{
|
||||
e.Handled = !(DecimalPlaces > 0);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
e.Handled = true;
|
||||
|
Loading…
Reference in New Issue
Block a user