diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-07-21 12:37:45 +0200 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-07-21 12:37:45 +0200 |
commit | 616da8fa8efa9023f56fa731072d877e2150afbc (patch) | |
tree | cabef8906fe8186c67899936e8b28640daeadb06 /src/dispextern.h | |
parent | 51f8e86374a57efe5b8e5c31d96078e63c023da4 (diff) | |
parent | e09c056a440e78afd0e1920250714bc6de6ccf4f (diff) | |
download | emacs-616da8fa8efa9023f56fa731072d877e2150afbc.tar.gz |
Merge branch 'feature/fix-the-long-lines-display-bug'
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 5 |
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); |