[4961] in Athena Bugs
[jik@pit-manager.MIT.EDU: Xaw Text widget scrolling]
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon May 21 22:20:48 1990
Date: Mon, 21 May 90 22:20:33 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
----- Forwarded message
Date: Mon, 21 May 90 22:19:35 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
Sender: jik@ATHENA.MIT.EDU
To: xbugs@expo.lcs.mit.edu
Subject: Xaw Text widget scrolling
X Window System Bug Report
xbugs@expo.lcs.mit.edu
VERSION:
R4
CLIENT MACHINE and OPERATING SYSTEM:
NA
DISPLAY TYPE:
NA
WINDOW MANAGER:
NA
AREA:
Xaw Text widget
SYNOPSIS:
The Text widget no longer understands completely how to scroll to
keep the insertion point visible, although the X11r3 version of
the widget did understand this.
DESCRIPTION:
In X11r3, when you were typing in a Text widget and you typed past
the bottom of the widget, it scrolled one line up to keep the
insertion point visible. This was a useful feature, and it's a
real shame that it was removed.
I think that it should be put back, or at the very least made
optional (controlled by a resource).
I should be a bit more specific. The automatic scrolling *does*
work if the line that is below the end of the text widget is a new
line. In other words, if you have word wrap turned on, and auto
fill turned off, scrolling will never take place unless you hit
Return to end a line. If, on the other hand, you have auto fill
turned on, then the fill will kick in when you reach the bottom of
the widget, so since you'll be typing on a new line, it will
scroll properly. This is broken -- the widget should be checking
if it's necessary to scroll each time it decides to move the
cursor to the left margin of the text widget, NOT each time it
does an end-of-line call.
REPEAT BY:
Run xedit with auto fill turned off and word wrap turned on.
Shrink the window to a small size, and then type (without hitting
return) until the window fills. When you reach the end of the
widget, it won't scroll to keep up with you.
SAMPLE FIX:
Unknown.
Jonathan Kamens USnail:
MIT Project Athena 11 Ashford Terrace
jik@Athena.MIT.EDU Allston, MA 02134
Office: 617-253-8495 Home: 617-782-0710
----- End of forwarded message