From 257e3f57f8635ef5cf772a69df8b74f78fef8a02 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 1 Oct 2001 10:53:38 +0000 Subject: [PATCH] (struct glyph_row) : New bit flag --- src/ChangeLog | 9 +++++++++ src/dispextern.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index cdb855bdc8e..69693222363 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2001-10-01 Gerd Moellmann + + * 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) : + New bit flag + 2001-10-01 Richard M. Stallman * search.c (Freplace_match): Doc fix. diff --git a/src/dispextern.h b/src/dispextern.h index fbb3bc9f247..95c2a919d5f 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -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; }; -- 2.39.5