hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=aa789b04483b37936949729f208838be2c9fcd20

commit aa789b04483b37936949729f208838be2c9fcd20
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sun May 24 19:25:37 2015 +0900

    edc_editor: disable the part highlight on live edit mode.
---
 src/lib/edc_editor.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index 5969d28..56953d5 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -1328,6 +1328,10 @@ edit_disabled_set(edit_data *ed, Eina_Bool disabled)
      }
    else
      elm_object_signal_emit(ed->layout, "elm,state,enabled", "");
+
+   //Turn off the part highlight in case of disable.
+   if (disabled) view_part_highlight_set(VIEW_DATA, NULL);
+   else if (ed->part_highlight) edit_view_sync(ed);
 }
 
 void

-- 


Reply via email to