mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
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:
parent
3b8f88d9e8
commit
3466809c2c
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue