(struct glyph_row) <ends_in_newline_from_string_p>:
authorGerd Moellmann <gerd@gnu.org>
Mon, 1 Oct 2001 10:53:38 +0000 (10:53 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 1 Oct 2001 10:53:38 +0000 (10:53 +0000)
New bit flag

src/ChangeLog
src/dispextern.h

index cdb855b..6969322 100644 (file)
@@ -1,3 +1,12 @@
+2001-10-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (display_line): Set row's ends_in_newline_from_string_p.
+       (try_window_id): Skip back over lines ending in a newline from a
+       string.
+
+       * dispextern.h (struct glyph_row) <ends_in_newline_from_string_p>:
+       New bit flag
+
 2001-10-01  Richard M. Stallman  <rms@gnu.org>
 
        * search.c (Freplace_match): Doc fix.
index fbb3bc9..95c2a91 100644 (file)
@@ -698,6 +698,9 @@ struct glyph_row
   /* 1 means some glyphs in this row are displayed in mouse-face.  */
   unsigned mouse_face_p : 1;
 
+  /* 1 means this row was ended by a newline from a string.  */
+  unsigned ends_in_newline_from_string_p : 1;
+
   /* Continuation lines width at the start of the row.  */
   int continuation_lines_width;
 };