Mercurial > emacs
view src/indent.h @ 24997:5e507b813c1d
(Fcoordinates_in_window_p): Rewritten.
(scroll_command): If not acting on current_buffer,
make redisplay consider all windows.
(coordinates_in_window): Rewritten.
(Fdelete_other_windows): Use FRAME_TOP_MARGIN
instead of FRAME_MENU_BAR_LINES.
(check_frame_size): Ditto.
(struct save_window_data): Add frame_toolbar_lines.
(Fcurrent_window_configuration): Save toolbar lines.
(window_from_coordinates): Rewritten.
(Vscroll_preserve_screen_position): Replacement for
scroll_preserve_screen_position.
(window_scroll_pixel_based): New.
(Fsplit_window): Rewritten.
(window_internal_width): Rewritten.
(set_window_buffer): Extracted from Fset_window_buffer,
with an additional argument specifying whether or not hooks may
be called.
(Fset_window_buffer): Call it.
(Fset_window_vscroll): New.
(Fwindow_vscroll): New.
(Fpos_visible_in_window_p): Rewrite.
(change_window_height): Return void.
(make_dummy_parent): Return void.
(init_window_once): Return void.
(syms_of_window): Ditto.
(keys_of_window): Ditto.
(delete_window): Correct return with and without value.
(unshow_buffer): Return void.
(delete_window): Ditto.
(set_window_height): Return void.
(set_window_width): Ditto.
(get_phys_cursor_glyph): New.
(change_window_height): Ditto.
(Fset_window_margins): Ditto.
(window_scroll_line_based): Formerly window_scroll.
(window_scroll): Call both.
(window_topmost_p, window_rightmost_p): Removed because not used.
(Fset_window_margins): New.
(Fwindow_margins): New.
(make_window): Rewritten.
(replace_window): Rewritten.
(Fset_window_configuration): Rewritten.
(get_leaf_windows): New.
(Fdelete_window): Free window matrices.
(Fdelete_window): Adjust glyphs.
(change_window_height): Ditto.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 21 Jul 1999 21:43:52 +0000 |
parents | 64b4e34d34c2 |
children | 488e6b8dc9ae |
line wrap: on
line source
/* Definitions for interface to indent.c Copyright (C) 1985, 1986 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* We introduce new member `tab_offset'. We need it because of the existence of wide-column characters. There is a case that the line-break occurs at a wide-column character and the number of colums of the line gets less than width. Example (where W_ stands for a wide-column character): ---------- abcdefgh\\ W_ ---------- To handle this case, we should not calculate the tab offset by tab_offset += width; Instead, we must remember tab_offset of the line. */ struct position { int bufpos; int bytepos; int hpos; int vpos; int prevhpos; int contin; /* Number of characters we have already handled from the before and after strings at this position. */ int ovstring_chars_done; int tab_offset; }; struct position *compute_motion (); struct position *vmotion (); /* Value of point when current_column was called */ extern int last_known_column_point; /* Functions for dealing with the column cache. */ /* Return true iff the display table DISPTAB specifies the same widths for characters as WIDTHTAB. We use this to decide when to invalidate the buffer's column_cache. */ extern int disptab_matches_widthtab ( /* struct Lisp_Vector *disptab, struct Lisp_Vector *widthtab */ ); /* Recompute BUF's width table, using the display table DISPTAB. */ extern void recompute_width_table ( /* struct buffer *buf, struct Lisp_Vector *disptab */ );