Mercurial > emacs
comparison src/ChangeLog @ 58173:46e6d0e52da4
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 12 Nov 2004 14:21:27 +0000 |
parents | e2082811113b |
children | 51fa3db532d0 |
comparison
equal
deleted
inserted
replaced
58172:e2082811113b | 58173:46e6d0e52da4 |
---|---|
1 2004-11-12 Kim F. Storm <storm@cua.dk> | 1 2004-11-12 Kim F. Storm <storm@cua.dk> |
2 | |
3 * dispextern.h (struct glyph_row): New member extra_line_spacing. | |
4 (struct it): New member max_extra_line_spacing. | |
5 (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
6 (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
7 (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
8 part of last line is only extra line spacing (so the text on the | |
9 line is fully visible). Use helper macros. | |
10 Add W arg (to use them). All callers changed. | |
11 (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
12 (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
13 | |
14 * window.c (window_scroll_pixel_based, Frecenter): Use | |
15 move_it_vertically_backward directly. | |
16 (Frecenter): Fix calculation of new start pos for negative arg. | |
17 Before, the new start pos was sometimes chosen too far back, so | |
18 the last line became only partially visible, and thus would be | |
19 either only semi-visible or automatically scrolled to the middle | |
20 of the window by redisplay. | |
21 | |
22 * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
23 (move_it_vertically_backward): Don't recure to move further back. | |
24 (move_it_vertically): Remove superfluous condition. | |
25 (move_it_by_lines): Clear last_height when moved 0 lines. | |
26 (resize_mini_window): use it.max_extra_line_spacing. | |
27 (display_tool_bar_line): Clear row->extra_line_spacing. | |
28 (try_scrolling): Use move_it_vertically_backward directly. | |
29 (redisplay_window): Likewise. | |
30 (compute_line_metrics): Set row->extra_line_spacing. | |
31 (display_line, display_string): Likewise. | |
32 (x_produce_glyphs): Update it->max_extra_line_spacing. | |
2 | 33 |
3 * xmenu.c (pop_down_menu): Return nil. | 34 * xmenu.c (pop_down_menu): Return nil. |
4 | 35 |
5 2004-11-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 36 2004-11-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
6 | 37 |