mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Merge pull request #4543 from OmrSi/control-backspace
Return Control - Backspace for normal textbox
This commit is contained in:
commit
1032df63d9
@ -156,6 +156,14 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
else
|
||||
{
|
||||
_textBox = new TextBox { BorderStyle = BorderStyle.None, Multiline = true };
|
||||
_textBox.KeyDown += (sender, args) =>
|
||||
{
|
||||
if (args.KeyData == (Keys.Control | Keys.Back))
|
||||
{
|
||||
UiUtil.ApplyControlBackspace(_textBox);
|
||||
args.SuppressKeyPress = true;
|
||||
}
|
||||
};
|
||||
InitializeBackingControl(_textBox);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user