edje entry: improve selection performance
authorThiep Ha <thiepha@gmail.com>
Wed, 26 Nov 2014 11:29:08 +0000 (11:29 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 26 Nov 2014 11:29:09 +0000 (11:29 +0000)
commitc30303d7e8dd92763298156d9bcaee2b1b1d5d86
tree66f7497d9d50c091300a2def60ebbfce6ad2b403
parentf6a5ada4a215b93bb65be44ea04856c528c82ba7
edje entry: improve selection performance

Summary:
The selection performance is slow if we select large chunk of text.
This is caused by many rectangles created and deleted.
This patch provides a way to improve it by combine selection rectangles
of line in middle into one rectangles (i.e, if we have N lines,
the selection rectangle for lines 2 to N-1 will be combined into one.)

@feature

Reviewers: raster, cedric, tasn

Subscribers: herdsman, woohyun, cedric

Differential Revision: https://phab.enlightenment.org/D1508
src/lib/edje/edje_entry.c
src/lib/evas/Evas_Common.h
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c