summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2022-07-21 12:37:45 +0200
committerGregory Heytings <gregory@heytings.org>2022-07-21 12:37:45 +0200
commit616da8fa8efa9023f56fa731072d877e2150afbc (patch)
treecabef8906fe8186c67899936e8b28640daeadb06 /src/dispextern.h
parent51f8e86374a57efe5b8e5c31d96078e63c023da4 (diff)
parente09c056a440e78afd0e1920250714bc6de6ccf4f (diff)
downloademacs-616da8fa8efa9023f56fa731072d877e2150afbc.tar.gz
Merge branch 'feature/fix-the-long-lines-display-bug'
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 916dba53198..1cdfdca74c0 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2332,6 +2332,10 @@ struct it
with which display_string was called. */
ptrdiff_t end_charpos;
+ /* Alternate begin position of the buffer that may be used to
+ optimize display (see the SET_WITH_NARROWED_BEGV macro). */
+ ptrdiff_t narrowed_begv;
+
/* C string to iterate over. Non-null means get characters from
this string, otherwise characters are read from current_buffer
or it->string. */
@@ -3396,6 +3400,7 @@ void mark_window_display_accurate (Lisp_Object, bool);
void redisplay_preserve_echo_area (int);
void init_iterator (struct it *, struct window *, ptrdiff_t,
ptrdiff_t, struct glyph_row *, enum face_id);
+ptrdiff_t get_narrowed_begv (struct window *w);
void init_iterator_to_row_start (struct it *, struct window *,
struct glyph_row *);
void start_display (struct it *, struct window *, struct text_pos);