Mercurial > emacs
comparison src/window.c @ 35126:67fa29af4c7b
(window_scroll_pixel_based): Adjust glyph matrices
when increasing window's vscroll.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 08 Jan 2001 14:37:40 +0000 |
parents | ac8eb6b4eee6 |
children | f3eb82d93802 |
comparison
equal
deleted
inserted
replaced
35125:95799f3353e7 | 35126:67fa29af4c7b |
---|---|
3993 { | 3993 { |
3994 if (IT_CHARPOS (it) == ZV) | 3994 if (IT_CHARPOS (it) == ZV) |
3995 { | 3995 { |
3996 if (it.current_y + it.max_ascent + it.max_descent | 3996 if (it.current_y + it.max_ascent + it.max_descent |
3997 > it.last_visible_y) | 3997 > it.last_visible_y) |
3998 /* The last line was only partially visible, make it fully | 3998 { |
3999 visible. */ | 3999 /* The last line was only partially visible, make it fully |
4000 w->vscroll = (it.last_visible_y | 4000 visible. */ |
4001 - it.current_y + it.max_ascent + it.max_descent); | 4001 w->vscroll = (it.last_visible_y |
4002 - it.current_y + it.max_ascent + it.max_descent); | |
4003 adjust_glyphs (it.f); | |
4004 } | |
4002 else if (noerror) | 4005 else if (noerror) |
4003 return; | 4006 return; |
4004 else | 4007 else |
4005 Fsignal (Qend_of_buffer, Qnil); | 4008 Fsignal (Qend_of_buffer, Qnil); |
4006 } | 4009 } |