#ifndef MOO_EDIT_ACCELS_H #define MOO_EDIT_ACCELS_H #include #define MOO_EDIT_ACCEL_NEW MOO_ACCEL_NEW #define MOO_EDIT_ACCEL_OPEN MOO_ACCEL_OPEN #define MOO_EDIT_ACCEL_SAVE MOO_ACCEL_SAVE #define MOO_EDIT_ACCEL_SAVE_AS MOO_ACCEL_SAVE_AS #define MOO_EDIT_ACCEL_CLOSE MOO_ACCEL_CLOSE #define MOO_EDIT_ACCEL_UNDO MOO_ACCEL_UNDO #define MOO_EDIT_ACCEL_REDO MOO_ACCEL_REDO #define MOO_EDIT_ACCEL_CUT MOO_ACCEL_CUT #define MOO_EDIT_ACCEL_COPY MOO_ACCEL_COPY #define MOO_EDIT_ACCEL_PASTE MOO_ACCEL_PASTE #define MOO_EDIT_ACCEL_SELECT_ALL MOO_ACCEL_SELECT_ALL #define MOO_EDIT_ACCEL_PAGE_SETUP MOO_ACCEL_PAGE_SETUP #define MOO_EDIT_ACCEL_PRINT MOO_ACCEL_PRINT #define MOO_EDIT_ACCEL_NEW_WINDOW MOO_ACCEL_CTRL "N" #define MOO_EDIT_ACCEL_FIND MOO_ACCEL_CTRL "F" #define MOO_EDIT_ACCEL_REPLACE MOO_ACCEL_CTRL "R" #ifndef GDK_WINDOWING_QUARTZ #define MOO_EDIT_ACCEL_FIND_NEXT "F3" #define MOO_EDIT_ACCEL_FIND_PREV "F3" #define MOO_EDIT_ACCEL_FIND_CURRENT "F4" #define MOO_EDIT_ACCEL_FIND_CURRENT_BACK "F4" #define MOO_EDIT_ACCEL_GOTO_LINE "G" #define MOO_EDIT_ACCEL_FIND_IN_FILES "F" #define MOO_EDIT_ACCEL_FOCUS_DOC "C" #define MOO_EDIT_ACCEL_SWITCH_TO_TAB "" #define MOO_EDIT_ACCEL_PREV_TAB "Left" #define MOO_EDIT_ACCEL_NEXT_TAB "Right" #else /* GDK_WINDOWING_QUARTZ */ #define MOO_EDIT_ACCEL_FIND_NEXT "G" #define MOO_EDIT_ACCEL_FIND_PREV "G" #define MOO_EDIT_ACCEL_FIND_CURRENT "F4" /* XXX */ #define MOO_EDIT_ACCEL_FIND_CURRENT_BACK "F4" /* XXX */ #define MOO_EDIT_ACCEL_GOTO_LINE "L" #define MOO_EDIT_ACCEL_FIND_IN_FILES "F" #define MOO_EDIT_ACCEL_FOCUS_DOC "J" #define MOO_EDIT_ACCEL_SWITCH_TO_TAB "" #define MOO_EDIT_ACCEL_PREV_TAB "Left" #define MOO_EDIT_ACCEL_NEXT_TAB "Right" #endif /* GDK_WINDOWING_QUARTZ */ #define MOO_EDIT_ACCEL_BOOKMARK MOO_ACCEL_CTRL "B" #define MOO_EDIT_ACCEL_NEXT_BOOKMARK "Down" /* XXX */ #define MOO_EDIT_ACCEL_PREV_BOOKMARK "Up" /* XXX */ /* no such shortcut on Mac */ #define MOO_EDIT_ACCEL_RELOAD "F5" /* XXX Shift-Command-W is Close File on Mac */ #define MOO_EDIT_ACCEL_CLOSE_ALL MOO_ACCEL_CTRL "W" #define MOO_EDIT_ACCEL_STOP "Escape" #define MOO_EDIT_ACCEL_COMPLETE "Space" #endif /* MOO_EDIT_ACCELS_H */