1. 11 Oct, 1994 22 commits
  2. 10 Oct, 1994 9 commits
  3. 09 Oct, 1994 3 commits
  4. 08 Oct, 1994 6 commits
    • Jim Blandy's avatar
      * xdisp.c (redisplay_window): Invalidate width_run_cache, if the · f4faa47c
      Jim Blandy authored
      buffer's display table doesn't match the width table the cache was
      built for.
      (display_text_line): Use compute_motion to skip forward to the
      left edge of the window when the window is hscrolled; this is
      faster than rendering all the characters into the bit bucket when
      the hscroll is large.
      Doc fixes.
      (display_count_lines): Call scan_buffer with new args.
    • Jim Blandy's avatar
    • Jim Blandy's avatar
      * search.c: #include "region-cache.h". · 9169c321
      Jim Blandy authored
      (max, min): Make these functions, not macros; we'd like to pass
      them arguments that would be bad to evaluate more than once.
      (newline_cache_on_off): New function.
      (scan_buffer): New argument END.  Call newline_cache_on_off.  If
      this buffer's newline cache is enabled, consult it to see if we
      need to scan a region for newlines, and store information in the
      cache after doing so.
      (find_next_newline): Pass new arg to scan_buffer.
      (find_before_next_newline): New function.
    • Jim Blandy's avatar
      * insdel.c (prepare_to_modify_buffer): Invalidate width run and · 56e1065e
      Jim Blandy authored
      newline caches, if they exist.
    • Jim Blandy's avatar
      * indent.h (disptab_matches_widthtab, recompute_width_table): New · 63dec5bd
      Jim Blandy authored
    • Jim Blandy's avatar
      * indent.c: #include "region-cache.h". · 0aa01123
      Jim Blandy authored
      (character_width, disptab_matches_widthtab, recompute_width_table,
      width_run_cache_on_off): New functions.
      (compute_motion): Call width_run_cache_on_off.  If this buffer's
      width run cache is enabled, consult it to see if we need to
      traverse a region character-by-character; store information in the
      cache after doing so.  Call find_before_next_newline instead of
      writing out an equivalent loop explicitly, to take advantage of
      the newline cache.
      Doc fixes.