Hi all, I heard from #e, i should send the patches to the devel-list. When the modifier keys are pressed, like ctrl, alt, shift, etk's event->string is coming as empty string<http://en.wikipedia.org/wiki/Empty_string>. So if you select some text and press these keys actually it deletes those selected characters. Please have a look at http://bugzilla.enlightenment.org/show_bug.cgi?id=509 for more info. The below patch will fix this issue.
--- etk_text_view.c 2008-07-05 02:28:37.000000000 +0530 +++ etk_text_view.c 2008-07-05 02:28:50.000000000 +0530 @@ -275,7 +275,7 @@ etk_textblock_delete_range(tb, cursor, selection); etk_textblock_insert(tb, cursor, "\n", -1); } - else if (event->string && !(strlen(event->string) == 1 && event->string[0] < 0x20)) + else if (event->string && strlen(event->string) > 0 && !(strlen(event->string) == 1 && event->string[0] < 0x20)) { if (selecting) etk_textblock_delete_range(tb, cursor, selection); Hope it is good. Works for me. Thanks, -- "kalyan" http://skalyanasundaram.wordpress.com ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel