aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEli Zaretskii2014-02-20 19:40:56 +0200
committerEli Zaretskii2014-02-20 19:40:56 +0200
commit679f7827555eebb588131aebfcb9fdb959199904 (patch)
tree194994cd6ca960faa0cb9767c31211fbd93aefd0 /test
parentdba8296c00f035fcf7e200e846a890445606f307 (diff)
downloademacs-679f7827555eebb588131aebfcb9fdb959199904.tar.gz
emacs-679f7827555eebb588131aebfcb9fdb959199904.zip
Fix excessive calls to bidi_shelve_cache reported in bug #15555.
src/xdisp.c (move_it_in_display_line_to): Save the iterator state in ppos_it only once per call. Reimplement the method used to return to the best candidate position if all the positions found in display line are beyond TO_CHARPOS. This cuts down the number of calls to bidi_shelve_cache, which moves a lot of stuff when lines are long and include bidirectional text.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions