diff options
-rw-r--r-- | e-util/e-text-event-processor-emacs-like.c | 6 | ||||
-rw-r--r-- | e-util/e-text-event-processor-types.h | 10 |
2 files changed, 12 insertions, 4 deletions
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c index 29f1dcfe86..887cfd9e24 100644 --- a/e-util/e-text-event-processor-emacs-like.c +++ b/e-util/e-text-event-processor-emacs-like.c @@ -71,7 +71,7 @@ static const ETextEventProcessorCommand alt_keys[26] = { { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* a */ { E_TEP_BACKWARD_WORD, E_TEP_MOVE, 0, "" }, /* b */ - { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* c */ + { E_TEP_SELECTION, E_TEP_CAPS, E_TEP_CAPS_TITLE, "" },/* c */ { E_TEP_FORWARD_WORD, E_TEP_DELETE, 0, "" }, /* d */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* e */ { E_TEP_FORWARD_WORD, E_TEP_MOVE, 0, "" }, /* f */ @@ -80,7 +80,7 @@ static const ETextEventProcessorCommand alt_keys[26] = { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* i */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* j */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* k */ - { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* l */ + { E_TEP_SELECTION, E_TEP_CAPS, E_TEP_CAPS_LOWER, "" }, /* l */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* m */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* n */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* o */ @@ -89,7 +89,7 @@ static const ETextEventProcessorCommand alt_keys[26] = { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* r */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* s */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* t */ - { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* u */ + { E_TEP_SELECTION, E_TEP_CAPS, E_TEP_CAPS_UPPER, "" }, /* u */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* v */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* w */ { E_TEP_SELECTION, E_TEP_NOP, 0, "" }, /* x */ diff --git a/e-util/e-text-event-processor-types.h b/e-util/e-text-event-processor-types.h index 3de7292f94..0881438cec 100644 --- a/e-util/e-text-event-processor-types.h +++ b/e-util/e-text-event-processor-types.h @@ -69,12 +69,14 @@ typedef enum { E_TEP_DELETE, E_TEP_INSERT, + E_TEP_CAPS, + E_TEP_COPY, E_TEP_PASTE, E_TEP_GET_SELECTION, E_TEP_SET_SELECT_BY_WORD, E_TEP_ACTIVATE, - + E_TEP_GRAB, E_TEP_UNGRAB, @@ -120,6 +122,12 @@ union _ETextEventProcessorEvent { ETextEventProcessorEventMotion motion; }; +typedef enum _ETextEventProcessorCaps { + E_TEP_CAPS_UPPER, + E_TEP_CAPS_LOWER, + E_TEP_CAPS_TITLE +} ETextEventProcessorCaps; + #ifdef __cplusplus } #endif /* __cplusplus */ |