Ticket #2842: editor_scrlist.diff

File editor_scrlist.diff, 1.5 KB (added by szaszg, 12 years ago)
  • src/editor/edit.c

    diff --git a/src/editor/edit.c b/src/editor/edit.c
    index 6662de9..c2f7e33 100644
    a b edit_execute_cmd (WEdit * edit, unsigned long command, int char_for_insertion) 
    42244224        edit_select_codepage_cmd (edit); 
    42254225        break; 
    42264226#endif 
     4227    case CK_ScreenList: 
     4228        dialog_switch_list (); 
     4229        break; 
    42274230    case CK_InsertLiteral: 
    42284231        edit_insert_literal_cmd (edit); 
    42294232        break; 
  • src/editor/editmenu.c

    diff --git a/src/editor/editmenu.c b/src/editor/editmenu.c
    index b150c2a..6331ac4 100644
    a b create_command_menu (void) 
    165165    entries = g_list_prepend (entries, menu_entry_create (_("Encod&ing..."), CK_SelectCodepage)); 
    166166#endif 
    167167    entries = g_list_prepend (entries, menu_separator_create ()); 
     168    entries = g_list_prepend (entries, menu_entry_create (_("Screen &list..."), CK_ScreenList)); 
    168169    entries = g_list_prepend (entries, menu_entry_create (_("&Refresh screen"), CK_Refresh)); 
    169170    entries = g_list_prepend (entries, menu_separator_create ()); 
    170171    entries = 
  • src/keybind-defaults.c

    diff --git a/src/keybind-defaults.c b/src/keybind-defaults.c
    index 0a75108..7d0e488 100644
    a b static const global_keymap_ini_t default_editor_keymap[] = { 
    362362    {"SelectCodepage", "alt-e"}, 
    363363#endif 
    364364    {"Goto", "alt-l; alt-shift-l"}, 
     365    {"ScreenList", "alt-prime"}, 
    365366    {"Refresh", "ctrl-l"}, 
    366367    {"Shell", "ctrl-o"}, 
    367368    {"Top", "ctrl-home; ctrl-pgup; alt-lt"},