forked from enlightenment/edi
editor: Fix performance of adding deleting lines
removed the numerous callbacks that were not needed
This commit is contained in:
parent
ba5d65d617
commit
008246d936
|
@ -274,9 +274,6 @@ EAPI void elm_code_file_line_insert(Elm_Code_File *file, unsigned int row, const
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
line_item->number = r++;
|
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++;
|
line_item->number = r++;
|
||||||
|
|
||||||
if (file->parent)
|
|
||||||
elm_code_callback_fire(file->parent, &ELM_CODE_EVENT_LINE_LOAD_DONE, line_item);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tofree)
|
if (tofree)
|
||||||
|
|
Loading…
Reference in New Issue