ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5c8ea3a6f3bb539da3fbc022a8fbd407d4792051

commit 5c8ea3a6f3bb539da3fbc022a8fbd407d4792051
Author: Andy Williams <[email protected]>
Date:   Sun Jul 3 20:48:14 2016 +0100

    elementary: Grab all key presses in elm_code for now
    
    Working around issues where new key bindings were breaking the editor
---
 src/lib/elementary/elm_code_widget.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/elm_code_widget.c 
b/src/lib/elementary/elm_code_widget.c
index 5fd9ff2..0f2c11b 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -1309,6 +1309,8 @@ _elm_code_widget_key_down_cb(void *data, Evas *evas 
EINA_UNUSED,
         return;
      }
 
+   ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
+
    if (!strcmp(ev->key, "Up"))
      _elm_code_widget_cursor_move_up(widget);
    else if (!strcmp(ev->key, "Down"))

-- 


Reply via email to