HomePhabricator

elm_entry: Cursor disappears on calling select function in an empty entry.

Authored by shilpasingh on May 11 2017, 11:10 PM.

Description

elm_entry: Cursor disappears on calling select function in an empty entry.

Summary:
Issue: Selection cannot happen on an empty entry, if selection functions
are called on empty entry, cursor is hidden, even if entry is focused.
Soln: Check for whether entry is empty or not before proceeding with selection.

Test Plan:

  1. Call select_all, select_region_set on a focused entry
  2. You can observe cursor cannot be seen.

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4862