[BUG] DNU when ESC hit while editing a TextMorph

Ned Konz ned at bike-nomad.com
Sun Apr 28 17:25:37 UTC 2002


Get a TextMorph. Start editing it. Hit the Escape key. You get this:

28 April 2002 9:23:47 am

VM: unix - Squeak3.2gamma of 15 January 2002 [latest update: #4843]
Image: Squeak3.2gamma [latest update: #4843]

TextMorph(Object)>>doesNotUnderstand:
	Receiver: a TextMorph<Text>(2496)
	Arguments and temporary variables: 
		aMessage: 	a Message with selector: #editView and arguments: #()
	Receiver's instance variables: 
		bounds: 	34 at 365 corner: 84 at 384
		owner: 	a PasteUpMorph(3621) [world]
		submorphs: 	#()
		fullBounds: 	34 at 365 corner: 84 at 384
		color: 	Color black
		extension: 	a MorphExtension (529) [externalName = Text ] 
		borderWidth: 	0
		borderColor: 	Color black
		textStyle: 	a TextStyle Accuny12
		text: 	a Text for 'abc'
		wrapFlag: 	true
		paragraph: 	a NewParagraph
		editor: 	nil
		container: 	nil
		predecessor: 	nil
		successor: 	nil
		lastGesture: 	nil
		backgroundColor: 	nil
		margins: 	nil

TextMorphEditor>>raiseContextMenu:
	Receiver: a TextMorphEditor
	Arguments and temporary variables: 
		characterStream: 	a WriteStream
	Receiver's instance variables: 
		model: 	nil
		view: 	nil
		sensor: 	a KeyboardBuffer
		lastActivityTime: 	nil
		redButtonMenu: 	nil
		redButtonMessages: 	nil
		scrollBar: 	0 at 0 corner: 0 at 0
		marker: 	0 at 0 corner: 0 at 0
		savedArea: 	nil
		menuBar: 	0 at 0 corner: 0 at 0
		savedMenuBarArea: 	nil
		paragraph: 	a NewParagraph
		startBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...
		stopBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365 ...etc...
		beginTypeInBlock: 	nil
		emphasisHere: 	#(a TextFontChange font: 3)
		initialText: 	a Text for 'abc'
		selectionShowing: 	false
		otherInterval: 	(1 to: 0)
		morph: 	a TextMorph<Text>(2496)
		oldInterval: 	(1 to: 0)
		pivotBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...

TextMorphEditor>>offerMenuFromEsc:
	Receiver: a TextMorphEditor
	Arguments and temporary variables: 
		characterStream: 	a WriteStream
	Receiver's instance variables: 
		model: 	nil
		view: 	nil
		sensor: 	a KeyboardBuffer
		lastActivityTime: 	nil
		redButtonMenu: 	nil
		redButtonMessages: 	nil
		scrollBar: 	0 at 0 corner: 0 at 0
		marker: 	0 at 0 corner: 0 at 0
		savedArea: 	nil
		menuBar: 	0 at 0 corner: 0 at 0
		savedMenuBarArea: 	nil
		paragraph: 	a NewParagraph
		startBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...
		stopBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365 ...etc...
		beginTypeInBlock: 	nil
		emphasisHere: 	#(a TextFontChange font: 3)
		initialText: 	a Text for 'abc'
		selectionShowing: 	false
		otherInterval: 	(1 to: 0)
		morph: 	a TextMorph<Text>(2496)
		oldInterval: 	(1 to: 0)
		pivotBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...

TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
	Receiver: a TextMorphEditor
	Arguments and temporary variables: 
		char: 	$
		typeAheadStream: 	a WriteStream
		honorCommandKeys: 	true
	Receiver's instance variables: 
		model: 	nil
		view: 	nil
		sensor: 	a KeyboardBuffer
		lastActivityTime: 	nil
		redButtonMenu: 	nil
		redButtonMessages: 	nil
		scrollBar: 	0 at 0 corner: 0 at 0
		marker: 	0 at 0 corner: 0 at 0
		savedArea: 	nil
		menuBar: 	0 at 0 corner: 0 at 0
		savedMenuBarArea: 	nil
		paragraph: 	a NewParagraph
		startBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...
		stopBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365 ...etc...
		beginTypeInBlock: 	nil
		emphasisHere: 	#(a TextFontChange font: 3)
		initialText: 	a Text for 'abc'
		selectionShowing: 	false
		otherInterval: 	(1 to: 0)
		morph: 	a TextMorph<Text>(2496)
		oldInterval: 	(1 to: 0)
		pivotBlock: 	a CharacterBlock with index 3 and character $c and
rectangle 49 at 365...etc...

--- The rest of the stack ---
TextMorphEditor(ParagraphEditor)>>readKeyboard
TextMorphEditor>>readKeyboard
[] in TextMorph>>keyStroke:
TextMorph>>handleInteraction:fromEvent:
TextMorph>>keyStroke:
TextMorph>>handleKeystroke:
KeyboardEvent>>sentTo:
TextMorph(Morph)>>handleEvent:
TextMorph(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
PasteUpMorph>>becomeActiveDuring:
...etc...



More information about the Squeak-dev mailing list