forked from enlightenment/efl
editor: Fix performance of adding deleting lines
removed the numerous callbacks that were not needed
This commit is contained in:
parent
7942fa8710
commit
5a1629e7a4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue