Hello, I was taking a look at the ewl_entry and specifically the selection of content. I noticed that if I selected past the end of the text, my selection highlight would disappear. And if I started the selection after the end of the text, the selection box wouldn't appear at all.
The attached patch fixes these two issues. There are two remaining issues that I can see, and I couldn't figure out. The first, if you delete all text in the box in one swoop, the selection highlight remains and only disappears when you type more text. The second, if you delete all but the first item (select it all and delete) and then backspace over the first, the cursor position stays at the second spot, tho the character is deleted. Thanks, dan
Index: ewl_entry.c =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_entry.c,v retrieving revision 1.76 diff -r1.76 ewl_entry.c 323c323 < } else --- > } else { 327,328c327,328 < < index++; --- > index++; > } 331a332 > 364a366 > 367a370 > index++; 369,370d371 < < index++; Index: ewl_cursor.c =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_cursor.c,v retrieving revision 1.15 diff -r1.15 ewl_cursor.c 61a62,64 > if (pos == 0) > pos = 1; > 111a115,117 > > if (pos == 0) > pos = 1;