GUI2 Textbox: Remove the other two emacs keybindings

This commit is contained in:
Celtic Minstrel 2017-08-28 23:24:36 -04:00 committed by GitHub
parent c0223cd7c0
commit 468c6e0f49

View file

@ -520,15 +520,6 @@ void text_box_base::signal_handler_sdl_key_down(const event::ui_event event,
handle_key_home(modifier, handled);
break;
case SDLK_e:
if(!(modifier & KMOD_CTRL)) {
return;
}
// If ctrl-e is used for end drop the styled_widget modifier
modifier = static_cast<SDL_Keymod>(modifier & ~KMOD_CTRL);
FALLTHROUGH;
case SDLK_END:
handle_key_end(modifier, handled);
break;
@ -537,13 +528,6 @@ void text_box_base::signal_handler_sdl_key_down(const event::ui_event event,
handle_key_backspace(modifier, handled);
break;
case SDLK_u:
if(!(modifier & KMOD_CTRL)) {
return;
}
handle_key_clear_line(modifier, handled);
break;
case SDLK_DELETE:
handle_key_delete(modifier, handled);
break;