RichEdit: Shift+Backspace now same as Backspace

git-svn-id: svn://ultimatepp.org/upp/trunk@8823 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-08-20 15:27:15 +00:00
parent 3b8f88d9e8
commit 3466809c2c
2 changed files with 2 additions and 1 deletions

View file

@ -1083,7 +1083,7 @@ bool LineEdit::Key(dword key, int count) {
case K_SHIFT|K_BACKSPACE:
Backspace();
break;
case K_SHIFT_TAB:
case K_SHIFT_TAB:
AlignChar();
break;
case K_CTRL_Y:

View file

@ -25,6 +25,7 @@ bool RichEdit::Key(dword key, int count)
return true;
}
case K_BACKSPACE:
case K_SHIFT_BACKSPACE:
if(RemoveSelection(true)) return true;
if(cursor <= 0 || RemoveSpecial(cursor, cursor - 1, true))
return true;