mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Text box now react to CTRl+BACKSPACE like Word (delete last word) - thx Ivandrofly :)
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@2192 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
4ea6e460f9
commit
6536492c10
@ -47,7 +47,7 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
}
|
||||
if (deleteFrom == index - 1)
|
||||
{
|
||||
while (deleteFrom > 0 && (breakChars.Replace(" ", string.Empty)).Contains(s.Substring(deleteFrom, 1)))
|
||||
while (deleteFrom > 0 && (breakChars.Replace(" ", string.Empty)).Contains(s.Substring(deleteFrom - 1, 1)))
|
||||
{
|
||||
deleteFrom--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user