elm_layout_signal_emit(pd->cursor_rect, "elm,action,focus", "elm");
evas_object_resize(pd->cursor_rect, cw/8, ch);
- evas_object_show(pd->cursor_rect);
}
evas_object_move(pd->cursor_rect, cx, cy);
+ evas_object_show(pd->cursor_rect);
}
}
if (newline && !elm_obj_code_widget_line_visible_get(widget, newline))
return;
+ // cursor will be shown if it should be visible
+ evas_object_hide(pd->cursor_rect);
+
for (y = first_row; y <= last_row; y++)
{
line = elm_code_file_line_get(pd->code->file, y);