ajwillia-ms pushed a commit to branch master. http://git.enlightenment.org/tools/edi.git/commit/?id=008246d936975e0f2f905f2a22fc0efa49fbfd20
commit 008246d936975e0f2f905f2a22fc0efa49fbfd20 Author: Andy Williams <[email protected]> Date: Thu Apr 2 00:32:16 2015 +0100 editor: Fix performance of adding deleting lines removed the numerous callbacks that were not needed --- elm_code/src/lib/elm_code_file.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/elm_code/src/lib/elm_code_file.c b/elm_code/src/lib/elm_code_file.c index 8848b95..1a72911 100644 --- a/elm_code/src/lib/elm_code_file.c +++ b/elm_code/src/lib/elm_code_file.c @@ -274,9 +274,6 @@ EAPI void elm_code_file_line_insert(Elm_Code_File *file, unsigned int row, const continue; line_item->number = r++; - - if (file->parent) - elm_code_callback_fire(file->parent, &ELM_CODE_EVENT_LINE_LOAD_DONE, line_item); } } @@ -299,9 +296,6 @@ EAPI void elm_code_file_line_remove(Elm_Code_File *file, unsigned int row) } line_item->number = r++; - - if (file->parent) - elm_code_callback_fire(file->parent, &ELM_CODE_EVENT_LINE_LOAD_DONE, line_item); } if (tofree) --
