aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2011-07-23 10:42:56 +0300
committerEli Zaretskii2011-07-23 10:42:56 +0300
commit0f74f7850de124626d556442d22d143d85457816 (patch)
treeff06bf05bee857bc9714de737a773a1ef903a239 /src/buffer.c
parentb2d0c91afda345844c6e4b647b1b0fd6faac6875 (diff)
parentb6d5a68964e812af176a6217882add25703914b2 (diff)
downloademacs-0f74f7850de124626d556442d22d143d85457816.tar.gz
emacs-0f74f7850de124626d556442d22d143d85457816.zip
Speed up keyboard auto-repeat cursor motion under bidi redisplay.
src/xdisp.c (compute_stop_pos_backwards): New function. (next_element_from_buffer): Call compute_stop_pos_backwards to find a suitable prev_stop when we find ourselves before base_level_stop. (reseat): Don't look for prev_stop, as that could mean a very long run. <cached_disp_pos, cached_disp_buffer, cached_disp_modiff> <cached_disp_overlay_modiff>: Cache for last found display string position. (compute_display_string_pos): Return the cached position if asked about the same buffer in the same area of character positions, and the buffer wasn't changed since the time the display string position was cached.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions