Canvas text: Don't call callbacks while cursors are in inconsistent states.
authorTom Hacohen <tom@stosb.com>
Wed, 22 Jun 2016 12:42:26 +0000 (13:42 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 22 Jun 2016 13:03:06 +0000 (14:03 +0100)
commit3dc4490a999e4d1df8463d3587e1ccca82d44f6e
treeea52a46afde67474c2c12e53299c72fe41306b5e
parenta192dd0cf397def93620e4766a634fba7a064d19
Canvas text: Don't call callbacks while cursors are in inconsistent states.

The issue is that in some cases we were calling user code (callbacks)
when some of the nodes were referencing already deleted text nodes. This
caused invalid memory access. This commit delays the callback calling
until after all of the cursors got into a consistent legal state.
src/lib/evas/canvas/evas_object_textblock.c