Hello. All.
I found one small bug in evas_textblock.
For checking this bug ~ I recommend to do like following scenario.
In Entry 3 of Elementary_test,
1. Push Clr Button for the bottom entry.
2. Input 'a' and input "Backspace" in the bottom entry.
3. Click the top entry.
4. Click the bottom entry.
5. Input some characters.
6. Result : char is input before the last character.
So I made a patch and attached it.
Anybody can check about this ?
Thanks.
Index: src/lib/canvas/evas_object_textblock.c
===================================================================
--- src/lib/canvas/evas_object_textblock.c (revision 57196)
+++ src/lib/canvas/evas_object_textblock.c (working copy)
@@ -5465,7 +5465,11 @@ evas_textblock_cursor_line_char_last(Evas_Textbloc
_find_layout_item_match(cur, &ln, &it);
- if (!ln) return;
+ if (!ln)
+ {
+ cur->pos++;
+ return;
+ }
if (ln->items)
{
Evas_Object_Textblock_Item *i;
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel