Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_entry.c 


Log Message:
A fix for some of the delete key cursor behavior.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_entry.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- ewl_entry.c 12 Oct 2004 17:49:29 -0000      1.112
+++ ewl_entry.c 13 Oct 2004 01:35:40 -0000      1.113
@@ -133,8 +133,6 @@
        ewl_entry_cursor_position_set(EWL_ENTRY_CURSOR(e->cursor), 0);
        ewl_widget_show(e->cursor);
 
-       e->selections = NULL;
-
        /*
         * Attach necessary callback mechanisms 
         */
@@ -887,6 +885,14 @@
 
        index = ewl_entry_coord_index_map(e, ev->x, ev->y);
        ewl_entry_cursor_position_set(EWL_ENTRY_CURSOR(e->cursor), index);
+
+       if (ev->modifiers & EWL_KEY_MODIFIER_SHIFT) {
+
+       }
+       else {
+               ewl_container_reset(EWL_CONTAINER(e));
+       }
+
        ewl_widget_configure(w);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to