[ANN] eCompletion - code completion inspired by eclipse

Ruben Bakker ruben_bakker at mac.com
Mon Nov 29 12:40:59 UTC 2004


 
The bug that you and Pavel reported is fixed. Please install the latest version from squeakmap.
Have fun.
Ruben


On Sun, 28 Nov 2004 18:34:10 -0500, you wrote:

>Hello,
>I have found one bug. If you try to save a Class Definition from the 
>browser. I get a doesNotUnderstand message.
>
>I have the RefactoringBrowser and Shout loaded. If you need any other 
>information, let me know.
>
>Here' the complete information from the log:
>MessageNotUnderstood: UndefinedObject>>isCompletionMorphOpen
>28 November 2004 5:28:30 pm
>
>VM: Win32 - a SmalltalkImage
>Image: Squeak3.7 [latest update: #5989]
>
>SecurityManager state:
>Restricted: false
>FileAccess: true
>SocketAccess: true
>Working Dir C:\bbuxton\dev\squeak\current
>Trusted Dir C:\bbuxton\dev\squeak\current\owner
>Untrusted Dir C:\My Squeak\owner
>
>UndefinedObject(Object)>>doesNotUnderstand: #isCompletionMorphOpen
>	Receiver: nil
>	Arguments and temporary variables:
>		aMessage: 	isCompletionMorphOpen
>	Receiver's instance variables:
>nil
>TextMorphForShout(TextMorph)>>keyStroke:
>	Receiver: a TextMorphForShout(3179)
>	Arguments and temporary variables:
>		evt: 	[keystroke 'Cmd-s']
>		action: 	nil
>		completionAllowed: 	true
>	Receiver's instance variables:
>		bounds: 	0 at 0 corner: 782 at 87
>		owner: 	a TransformMorph(3537)
>		submorphs: 	#()
>		fullBounds: 	0 at 0 corner: 782 at 87
>		color: 	Color black
>		extension: 	a MorphExtension (3730)
>		borderWidth: 	0
>		borderColor: 	Color black
>		textStyle: 	a TextStyle Accujen12
>		text: 	a Text for 'Workspace subclass: #SonoraWorkspace
>	instanceVariableNames: ...etc...
>		wrapFlag: 	true
>		paragraph: 	a NewParagraph
>		editor: 	a TextMorphForShoutEditor
>		container: 	nil
>		predecessor: 	nil
>		successor: 	nil
>		backgroundColor: 	nil
>		margins: 	nil
>		editView: 	a PluggableShoutMorph(3289)
>		acceptOnCR: 	false
>
>TextMorphForShout(TextMorphForEditView)>>keyStroke:
>	Receiver: a TextMorphForShout(3179)
>	Arguments and temporary variables:
>		evt: 	[keystroke 'Cmd-s']
>		view: 	a PluggableShoutMorph(3289)
>	Receiver's instance variables:
>		bounds: 	0 at 0 corner: 782 at 87
>		owner: 	a TransformMorph(3537)
>		submorphs: 	#()
>		fullBounds: 	0 at 0 corner: 782 at 87
>		color: 	Color black
>		extension: 	a MorphExtension (3730)
>		borderWidth: 	0
>		borderColor: 	Color black
>		textStyle: 	a TextStyle Accujen12
>		text: 	a Text for 'Workspace subclass: #SonoraWorkspace
>	instanceVariableNames: ...etc...
>		wrapFlag: 	true
>		paragraph: 	a NewParagraph
>		editor: 	a TextMorphForShoutEditor
>		container: 	nil
>		predecessor: 	nil
>		successor: 	nil
>		backgroundColor: 	nil
>		margins: 	nil
>		editView: 	a PluggableShoutMorph(3289)
>		acceptOnCR: 	false
>
>TextMorphForShout(TextMorph)>>handleKeystroke:
>	Receiver: a TextMorphForShout(3179)
>	Arguments and temporary variables:
>		anEvent: 	[keystroke 'Cmd-s']
>		pasteUp: 	nil
>	Receiver's instance variables:
>		bounds: 	0 at 0 corner: 782 at 87
>		owner: 	a TransformMorph(3537)
>		submorphs: 	#()
>		fullBounds: 	0 at 0 corner: 782 at 87
>		color: 	Color black
>		extension: 	a MorphExtension (3730)
>		borderWidth: 	0
>		borderColor: 	Color black
>		textStyle: 	a TextStyle Accujen12
>		text: 	a Text for 'Workspace subclass: #SonoraWorkspace
>	instanceVariableNames: ...etc...
>		wrapFlag: 	true
>		paragraph: 	a NewParagraph
>		editor: 	a TextMorphForShoutEditor
>		container: 	nil
>		predecessor: 	nil
>		successor: 	nil
>		backgroundColor: 	nil
>		margins: 	nil
>		editView: 	a PluggableShoutMorph(3289)
>		acceptOnCR: 	false
>
>
>--- The full stack ---
>UndefinedObject(Object)>>doesNotUnderstand: #isCompletionMorphOpen
>TextMorphForShout(TextMorph)>>keyStroke:
>TextMorphForShout(TextMorphForEditView)>>keyStroke:
>TextMorphForShout(TextMorph)>>handleKeystroke:
>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>KeyboardEvent>>sentTo:
>TextMorphForShout(Morph)>>handleEvent:
>TextMorphForShout(Morph)>>handleFocusEvent:
>[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent 
>:= anEvent.  result := focusHolder     han...]}
>[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
>BlockContext>>on:do:
>PasteUpMorph>>becomeActiveDuring:
>HandMorph>>sendFocusEvent:to:clear:
>HandMorph>>sendEvent:focus:clear:
>HandMorph>>sendKeyboardEvent:
>HandMorph>>handleEvent:
>HandMorph>>processEvents
>[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h 
>processEvents.  capturingGesture := capturingGest...]}
>Array(SequenceableCollection)>>do:
>WorldState>>handsDo:
>WorldState>>doOneCycleNowFor:
>WorldState>>doOneCycleFor:
>PasteUpMorph>>doOneCycle
>[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor yield.  
>false] whileFalse.  nil]}
>[] in BlockContext>>newProcess {[self value.  Processor terminateActive]}




More information about the Squeak-dev mailing list