summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS1
-rw-r--r--src/bin/e_entry.c7
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f49d0c8b03..ce0aa19804 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
+2013-11-25 Tom Hacohen
+
+ * Entry: Fixed issues with entry not scrolling to cursor.
+
2013-11-05 Tom Hacohen
+
* wsod: Fixed gdb hangs when generating backtraces.
2013-10-07 Mike Blumenkrantz
diff --git a/NEWS b/NEWS
index d06bd69bd9..ad36bc9e47 100644
--- a/NEWS
+++ b/NEWS
@@ -235,3 +235,4 @@ Fixes:
* fixed filemanager spring window closing when dragging from desktop
* fixed catching XWindow closes during DND operations on those windows
* wsod: Fixed gdb hangs when generating backtraces.
+ * Entry: Fixed issues with entry not scrolling to cursor.
diff --git a/src/bin/e_entry.c b/src/bin/e_entry.c
index 832b6d16f3..2e3f9fa6bd 100644
--- a/src/bin/e_entry.c
+++ b/src/bin/e_entry.c
@@ -696,6 +696,13 @@ _entry_recalc_size(Evas_Object *object)
evas_object_geometry_get(sd->entry_object, NULL, NULL, &pw, &ph);
if ((w == pw) && (h == ph)) return;
evas_object_resize(sd->entry_object, w, h);
+
+ {
+ Evas_Coord cx, cy, cw, ch;
+ edje_object_part_text_cursor_geometry_get(sd->entry_object,
+ ENTRY_PART_NAME, &cx, &cy, &cw, &ch);
+ e_scrollframe_child_region_show(sd->scroll_object, cx, cy, cw, ch);
+ }
}
static void