(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
authorKim F. Storm <storm@cua.dk>
Tue, 5 Sep 2006 22:49:43 +0000 (22:49 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 5 Sep 2006 22:49:43 +0000 (22:49 +0000)
commit5a857365b5506c871d33bcfdf656ef1d036d616b
tree91d4b9f901a5b117a49af6ad1777f7ee6fe3e0d4
parent3ad5e58f3ee81a8f6554db3039d69a217f5536c9
(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
Return row height and row number for partially visible rows.
Modify return value to a 2 element list for fully visible rows
and 6 for partially visible row.
(window_scroll_pixel_based): Use pos_visible_p directly instead of
Fpos_visible_in_window_p.  Fix auto vscrolling for partially visible lines.
Only vscroll backwards if already vscrolled forwards.  Unconditionally
vscroll forwards if PT is first (and only) line.  Set new window start
instead of scrolling at start/end of tall line.
src/window.c