Rename constants that break in MSVC
This commit is contained in:
parent
f6961fbf8d
commit
40c64eab62
7 changed files with 8 additions and 8 deletions
|
|
@ -144,7 +144,7 @@ void TextBox::process_key_input(Cursor& cur, InputKey in, bool ctrl, bool shift,
|
|||
else
|
||||
cur.selectionEndPos = cur.selectionBeginPos = cur.pos = remove(cur.pos, move(ctrl ? Movement::LEFT_WORD : Movement::LEFT, cur.pos));
|
||||
break;
|
||||
case InputKey::DELETE:
|
||||
case InputKey::DEL:
|
||||
if(cur.selectionBeginPos != cur.selectionEndPos)
|
||||
cur.selectionEndPos = cur.selectionBeginPos = cur.pos = remove(cur.selectionBeginPos, cur.selectionEndPos);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ class TextBox {
|
|||
HOME,
|
||||
END,
|
||||
BACKSPACE,
|
||||
DELETE,
|
||||
DEL,
|
||||
ENTER,
|
||||
TAB,
|
||||
SELECT_ALL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue