scroll to the line not the cursor

This commit is contained in:
Andy Williams 2014-05-21 17:46:20 +01:00
parent 43871e9a0c
commit db613fe6ea
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ edi_mainview_goto(int line)
mcur = evas_object_textblock_cursor_get(tb);
evas_textblock_cursor_line_set(mcur, line-1);
elm_entry_cursor_geometry_get(txt, &x, &y, &w, &h);
evas_object_textblock_line_number_geometry_get(tb, line, &x, &y, &w, &h);
elm_scroller_region_show(txt, x, y, w, h);
elm_entry_calc_force(txt);