comparison src/indent.c @ 1994:73ce9dd21093

Use the term `scroll bar', instead of `scrollbar'. * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed.
author Jim Blandy <jimb@redhat.com>
date Tue, 02 Mar 1993 08:22:42 +0000
parents 4edfaa19c7a7
children ffa43acb7de7
comparison
equal deleted inserted replaced
1993:645d96bd3daf 1994:73ce9dd21093
394 TOHPOS. 394 TOHPOS.
395 395
396 When displaying in window w, a typical formula for WIDTH is: 396 When displaying in window w, a typical formula for WIDTH is:
397 397
398 window_width - 1 398 window_width - 1
399 - (has_vertical_scrollbars 399 - (has_vertical_scroll_bars
400 ? VERTICAL_SCROLLBAR_WIDTH 400 ? VERTICAL_SCROLL_BAR_WIDTH
401 : (window_width + window_left != frame_width)) 401 : (window_width + window_left != frame_width))
402 402
403 where 403 where
404 window_width is XFASTINT (w->width), 404 window_width is XFASTINT (w->width),
405 window_left is XFASTINT (w->left), 405 window_left is XFASTINT (w->left),
406 has_vertical_scrollbars is 406 has_vertical_scroll_bars is
407 FRAME_HAS_VERTICAL_SCROLLBARS (XFRAME (WINDOW_FRAME (window))) 407 FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (WINDOW_FRAME (window)))
408 and frame_width = FRAME_WIDTH (XFRAME (window->frame)) 408 and frame_width = FRAME_WIDTH (XFRAME (window->frame))
409 409
410 Or, 410 Or,
411 window_internal_width (w) - 1 411 window_internal_width (w) - 1
412 412
413 The `-1' accounts for the continuation-line backslashes; the rest 413 The `-1' accounts for the continuation-line backslashes; the rest
414 accounts for window borders if the window is split vertically, and 414 accounts for window borders if the window is split vertically, and
415 the scrollbars if the frame supports them. */ 415 the scroll bars if the frame supports them. */
416 416
417 struct position * 417 struct position *
418 compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, tab_offset) 418 compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, tab_offset)
419 int from, fromvpos, fromhpos, to, tovpos, tohpos; 419 int from, fromvpos, fromhpos, to, tovpos, tohpos;
420 register int width; 420 register int width;