1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
Pavel Janík
b1ad7c13fa (scroll-bar-mode): Make argument optional. 2002-01-20 15:49:50 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
d08947c532 (toplevel): Test if `x-toolkit-scroll-bars' is
bound before using it.  It's not bound when configured without X,
for instance.
2001-03-14 14:00:42 +00:00
Gerd Moellmann
1fc6e68101 (x-toolkit-scroll-bars): Check for
x-toolkit-scroll-bars instead of x-toolkit-scroll-bars-p.
2000-12-27 14:34:32 +00:00
Gerd Moellmann
2088cd64c6 (scroll-bar-timer): Variable removed.
(scroll-bar-toolkit-scroll): Don't use a timer.
2000-01-25 15:44:52 +00:00
Stefan Monnier
d294c01f59 (scroll-bar-toolkit-scroll): add handling of the `ratio'
event for Xaw and Xaw3d(without arrows) scrollbars.
1999-11-19 20:18:47 +00:00
Gerd Moellmann
cf4eb316c1 (scroll-bar-timer): New.
(scroll-bar-toolkit-scroll): Start and cancel scroll-bar-timer.
(scroll-bar-toolkit-scroll): Handle `top' and `bottom'.
(scroll-bar-toolkit-scroll): New.
(global): Use different key bindings if using toolkit scroll bars.
1999-07-21 21:43:03 +00:00
Karl Heuer
def7db1da1 (scroll-bar-scroll-down, scroll-bar-scroll-up):
Set point-before-scroll at end even if there was an error.
1998-09-13 03:51:22 +00:00
Richard M. Stallman
463deb6667 (scroll-bar-mode): Doc fix. 1998-08-05 07:09:48 +00:00
Geoff Voelker
1032e793e7 (scroll-bar-mode, toggle-scroll-bar): By default,
put scroll bars on the right on MS-Windows (since that is the
convention on Windows).
1998-04-23 23:38:50 +00:00
Richard M. Stallman
cb183ca05d (scroll-bar-drag): Set point-before-scroll
in the right buffer, from point in the right window.
(scroll-bar-scroll-down, scroll-bar-scroll-up): Likewise.
1998-04-08 07:25:05 +00:00
Karl Heuer
e4b201bbbb (set-scroll-bar-mode): Take just one arg.
(set-scroll-bar-mode-1): Take 2 args, as set-scroll-bar-mode used to.
(scroll-bar-mode variable): Use set-scroll-bar-mode-1.
(scroll-bar-mode command): Pass 1 arg to set-scroll-bar-mode.
1997-10-23 06:44:15 +00:00
Karl Heuer
19c6feac9f (toggle-scroll-bar): Call prefix-numeric-value. 1997-10-15 23:40:43 +00:00
Geoff Voelker
156556942f (scroll-bar-maybe-set-window-start): Change window
if current start is equal to start of next portion.
1997-09-02 19:39:53 +00:00
Richard M. Stallman
2124851f28 (scroll-bar-mode-explicit): New variable.
(set-scroll-bar-mode): Don't alter default-frame-alist
when just loading this file.
1997-07-21 05:58:34 +00:00
Richard M. Stallman
1064fe3876 (scroll-bar-mode): Extra defvar to avoid warning. 1997-06-28 00:44:52 +00:00
Richard M. Stallman
04c34f2e71 (toggle-scroll-bar): Moved from frame.el.
Use scroll-bar-mode to determine which side; if it's nil, use left.
(set-scroll-bar-mode): New subroutine, taken from scroll-bar-mode.
(scroll-bar-mode): Use the variable set-scroll-bar-mode.
(scroll-bar-mode): New variable.
(toggle-horizontal-scroll-bar): Moved from frame.el.
1997-06-28 00:43:48 +00:00
Karl Heuer
9c005c6533 (scroll-bar-maybe-set-window-start): Always set
window start, to ensure scroll bar position is updated.
1996-05-21 14:40:27 +00:00
Richard M. Stallman
aeee66be3b (scroll-bar-drag-position): New function.
(scroll-bar-maybe-set-window-start): New function.
1996-05-11 18:30:16 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
6538766ad9 (scroll-bar-drag): Call scroll-bar-drag-1
inside the let.
1995-05-31 19:39:24 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Richard M. Stallman
c782bea550 (scroll-bar-drag): Bind echo-keystrokes to 0. 1995-03-28 17:42:27 +00:00
Richard M. Stallman
8f37c4f3df (scroll-bar-drag-1): Set point-before-scroll properly.
(scroll-bar-scroll-down, scroll-bar-scroll-up): Likewise.
1995-01-26 07:17:31 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Richard M. Stallman
8682867842 (scroll-bar-event-ratio): New function. 1994-04-30 07:23:15 +00:00
Roland McGrath
6ee9f95358 (scroll-bar-mode): If FLAG is non-nil, set it to its prefix-numeric-value. 1993-08-06 21:03:45 +00:00
Jim Blandy
ada464a7f3 * scroll-bar.el (scroll-bar-mode): Variable deleted.
(scroll-bar-mode): Function changed to consult default-frame-alist
	instead of the variable.
1993-06-10 12:18:36 +00:00
Jim Blandy
4cad38d5ed * scroll-bar.el (scroll-bar-set-window-start): Remember that the
scroll bar numbers reflect the accessible region of the buffer,
	not the entire buffer.
1993-06-09 09:44:24 +00:00
Richard M. Stallman
d2ae6f7e7a (scroll-bar-drag-1):
Calculate position relative to the accessible part of the buffer.
1993-06-05 20:58:47 +00:00
Richard M. Stallman
79161a452a (scroll-bar-mode): Make default value t. 1993-05-26 19:27:06 +00:00
Richard M. Stallman
e532b01661 (scroll-bar-drag, scroll-bar-drag-1): New functions.
Put scroll-bar-drag on down-mouse-2 in scroll bar.
Leave up-events on mouse-2 unbound.
1993-05-08 23:49:17 +00:00
Eric S. Raymond
d9ecc911ff Added or corrected Commentary headers 1993-03-22 16:53:22 +00:00
Eric S. Raymond
76550a57f9 Add standard library headers. 1993-03-17 17:17:05 +00:00
Eric S. Raymond
aae56ea7ca Add standard library headers. 1993-03-17 16:56:02 +00:00
Jim Blandy
bf3c8a7000 Use the term scroll bar', instead of scrollbar'.
* term/x-win.el, frame.el, mouse.el: Terminology changed.
	* scrollbar.el: Renamed to scroll-bar.el.
1993-03-02 07:29:47 +00:00
Jim Blandy
dc14eed224 These are in preparation for a more thorough renaming to occur soon.
* scroll-bar.el: Provide `scroll-bar', not `scrollbar'.
	* term/x-win.el: Require `scroll-bar', not `scrollbar'.
1993-03-02 02:11:18 +00:00
Jim Blandy
fe48f821ca * term/x-win.el (scroll-bar-mode, scroll-bar-mode): Move these
functions to scrolbar.el.
	* scrollbar.el (scroll-bar-mode, scroll-bar-mode): Here they are.
	Make scroll-bar-mode set the {vertical,horizontal}-scrollbars
	parameters in default-frame-alist, and modify all extant screens
	using the correct parameter names.
1993-02-25 00:38:55 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Jim Blandy
6d62a90e1f * scrollbar.el: New file.
* term/x-win.el: Require 'scrollbar.
1993-01-14 14:52:32 +00:00
Jim Blandy
396890d1bd Initial revision 1993-01-14 06:41:03 +00:00