jaehyun pushed a commit to branch master.

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

commit b2286162a980794a9ee98cb8c7acdaed8016f5d8
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Feb 29 16:36:18 2016 +0900

    edc_editor: Fix to set edc changed in edit_text_insert().
    
    Set edc changed in edit_text_insert() to save text insertion.
    
    Test Plan:
    1. open find/replace (ctrl + f)
    2. write strings in "Find:" and "Replace with:"
    3. push "Replace all"
    4. close edc
    
    When edc is closed without saving after replacing a string, warning
    popup should appear.
---
 src/lib/edc_editor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index fece9e5..5c01bfd 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -865,6 +865,8 @@ edit_text_insert(edit_data *ed, const char *text)
    evas_textblock_cursor_pos_set(cur, old_pos);
 
    elm_entry_calc_force(ed->en_edit);
+
+   edit_changed_set(ed, EINA_TRUE);
    free(selection_utf8);
 }
 

-- 


Reply via email to