(struct it): Add member add_overlay_start.
authorGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 19:35:07 +0000 (19:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 22 Jun 2000 19:35:07 +0000 (19:35 +0000)
src/ChangeLog
src/dispextern.h

index 84224e5..1f925da 100644 (file)
@@ -1,3 +1,21 @@
+2000-06-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero.
+       (handle_invisible_prop): Record the start of invisible text in
+       it->add_overlay_start.
+       (struct overlay_entry): Add member `overlay'.
+       (handle_overlay_change): Simplify.
+       (next_overlay_string): After having processed overlay strings at the
+       end of the buffer, record that fact in
+       it->overlay_strings_at_end_processed_p.
+       (compare_overlay_entries): If before- and after-strings come
+       from the same overlay, let before-strings come first.
+       (RECORD_OVERLAY_STRING): Record the overlay that strings come from.
+       (load_overlay_strings): Take it->add_overlay_start into account
+       when adding overlay strings.
+
+       * dispextern.h (struct it): Add member add_overlay_start.
+
 2000-06-22  Dave Love  <fx@gnu.org>
 
        * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
index e53cdfb..4d81e9e 100644 (file)
@@ -1571,6 +1571,10 @@ struct it
      OVERLAY_STRING_CHUNK_SIZE.  */
   int n_overlay_strings;
 
+  /* If non-zero, an additional overlay start position to take overlay
+     strings from.  */
+  int add_overlay_start;
+
   /* If non-nil, a Lisp string being processed.  If
      current.overlay_string_index >= 0, this is an overlay string from
      pos.  */