[4967] in Athena Bugs

home help back first fref pref prev next nref lref last post

Xaw Text widget: ^K and long lines

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue May 22 01:10:09 1990

Date: Tue, 22 May 90 01:09:56 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: xbugs@expo.lcs.mit.edu
Cc: bugs@ATHENA.MIT.EDU

			  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 kill-line action doesn't deal well at all with lines that are
    longer than the text widget can display.

DESCRIPTION:
    All kinds of strange, bad things happen, including garbage
    characters being displayed and redisplays not working properly,
    when ^K is used on a line that is longer than can be displayed in
    the text widget.

REPEAT BY:
    Create a small text widget, with word-wrap on and auto-fill off.
    Type a line that's longer than the text widget can display.  Move
    back to the beginning of the line, Move forward one word, and then
    type ^K.  It shouldn't do the right thing.  Type ^L, and things
    should get worse.

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


home help back first fref pref prev next nref lref last post