OCompletion nice bug and that we can reproduce :)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OCompletion nice bug and that we can reproduce :)

Stéphane Ducasse
Hi romain

if you put the cursor at the beginning of an existing line and try to  
type for example N then you get that






Stef


20 August 2009 10:00:54 am

VM: Mac OS - intel - 1058 - Squeak3.8.1 of '28 Aug 2006' [latest  
update: #6747] Squeak VM 4.1.1b2
Image: Pharo1.0beta [Latest update: #10414]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/ducasse/Workspace/FirstCircle/ActiveResearch/Pharo/
Pharo
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/ducasse/Library/Preferences/Squeak/Internet/My  
Squeak

OrderedCollection(Object)>>error:
        Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange a SHRange a SHRange...etc...
        Arguments and temporary variables:
                aString: 'attempt to index non-existent element in an ordered  
collection'
        Receiver's instance variables:
                array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange a  
SHRange a S...etc...
                firstIndex: 1
                lastIndex: 33

OrderedCollection>>errorNoSuchElement
        Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange a SHRange a SHRange...etc...
        Arguments and temporary variables:

        Receiver's instance variables:
                array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange a  
SHRange a S...etc...
                firstIndex: 1
                lastIndex: 33

OrderedCollection>>at:
        Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange a SHRange a SHRange...etc...
        Arguments and temporary variables:
                anInteger: 0
        Receiver's instance variables:
                array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange a  
SHRange a S...etc...
                firstIndex: 1
                lastIndex: 33

OContext(ECContext)>>createEmptyRangeForGapAt:
        Receiver: an OContext
        Arguments and temporary variables:
                index: 1
                current: a SHRange
                previous: nil
        Receiver's instance variables:
                source: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim ...etc...
                position: 4
                theClass: StickyPadMorph
                ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange ...etc...
                completionIndex: 0
                recurseCount: 0
                receiverClass: nil
                completionToken: nil
                model: nil
                controller: an OController
                variables: true
                selectors: true
                typeInfos: nil

OContext(ECContext)>>computeIndexOfPosition
        Receiver: an OContext
        Arguments and temporary variables:
                current: a SHRange
                index: 1
                indexLimiT: 33
        Receiver's instance variables:
                source: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim ...etc...
                position: 4
                theClass: StickyPadMorph
                ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange ...etc...
                completionIndex: 0
                recurseCount: 0
                receiverClass: nil
                completionToken: nil
                model: nil
                controller: an OController
                variables: true
                selectors: true
                typeInfos: nil

OContext(ECContext)>>compute
        Receiver: an OContext
        Arguments and temporary variables:

        Receiver's instance variables:
                source: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim ...etc...
                position: 4
                theClass: StickyPadMorph
                ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange ...etc...
                completionIndex: 0
                recurseCount: 0
                receiverClass: nil
                completionToken: nil
                model: nil
                controller: an OController
                variables: true
                selectors: true
                typeInfos: nil

OContext(ECContext)>>setController:class:source:position:
        Receiver: an OContext
        Arguments and temporary variables:
                aECController: an OController
                aClass: StickyPadMorph
                aString: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim...etc...
                anInteger: 4
        Receiver's instance variables:
                source: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim ...etc...
                position: 4
                theClass: StickyPadMorph
                ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
SHRange a SHRange ...etc...
                completionIndex: 0
                recurseCount: 0
                receiverClass: nil
                completionToken: nil
                model: nil
                controller: an OController
                variables: true
                selectors: true
                typeInfos: nil

OContext class(ECContext class)>>controller:class:source:position:
        Receiver: OContext
        Arguments and temporary variables:
                aECController: an OController
                aClass: StickyPadMorph
                aString: '



A custom item for the  Squeakland Supplies bin, as defined by  
Kim...etc...
                anInteger: 4
        Receiver's instance variables:
                superclass: ECContext
                methodDict: a MethodDictionary(#createModel->a CompiledMethod  
(2538) #initializ...etc...
                format: 156
                instanceVariables: nil
                organization: ('model creation' createModel initialize)

                subclasses: nil
                name: #OContext
                classPool: nil
                sharedPools: nil
                environment: Smalltalk
                category: #Ocompletion
                traitComposition: nil
                localSelectors: nil

OController>>openMenuFor:
        Receiver: an OController
        Arguments and temporary variables:
                aParagraphEditor: an OBTextMorphEditorWithShout
                theMenu: nil
        Receiver's instance variables:
                model: an OBDefinitionPanel
                menuMorph: nil
                editor: an OBTextMorphEditorWithShout
                context: nil
                oppositeChar: nil
                expanded: false
                contextClass: OContext

OController>>handleKeystrokeBefore:editor:
        Receiver: an OController
        Arguments and temporary variables:
                kbEvent: [keystroke 'N']
                edit: an OBTextMorphEditorWithShout
                keyValue: 78
                ctrl: false
                cmd: false
                down: false
                tab: false
                colon: false
                alphanum: true
                del: false
                esc: false
        Receiver's instance variables:
                model: an OBDefinitionPanel
                menuMorph: nil
                editor: an OBTextMorphEditorWithShout
                context: nil
                oppositeChar: nil
                expanded: false
                contextClass: OContext

ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
        Receiver: ECToolSet
        Arguments and temporary variables:
                aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
                aTextMorph: an OBTextMorphWithShout(1510)
                evt: [keystroke 'N']
                completionAllowed: true
                editor: an OBTextMorphEditorWithShout
                stringHolder: an OBDefinitionPanel
        Receiver's instance variables:
                superclass: StandardToolSet
                methodDict: a MethodDictionary()
                format: 2
                instanceVariables: nil
                organization: ('as yet unclassified')

                subclasses: nil
                name: #ECToolSet
                classPool: nil
                sharedPools: nil
                environment: Smalltalk
                category: #'Ocompletion-ECSqueak'
                traitComposition: nil
                localSelectors: nil

DEVToolSet class>>codeCompletionAround:textMorph:keyStroke:
        Receiver: DEVToolSet
        Arguments and temporary variables:
                aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
                aTextMorph: an OBTextMorphWithShout(1510)
                evt: [keystroke 'N']
                toolSet: ECToolSet
        Receiver's instance variables:
                superclass: StandardToolSet
                methodDict: a MethodDictionary()
                format: 2
                instanceVariables: nil
                organization: ('as yet unclassified')

                subclasses: nil
                name: #DEVToolSet
                classPool: nil
                sharedPools: nil
                environment: Smalltalk
                category: #ImageForDevelopers
                traitComposition: nil
                localSelectors: nil

ToolSet class>>codeCompletionAround:textMorph:keyStroke:
        Receiver: ToolSet
        Arguments and temporary variables:
                aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
                aTextMorph: an OBTextMorphWithShout(1510)
                evt: [keystroke 'N']
        Receiver's instance variables:
                superclass: AppRegistry
                methodDict: a MethodDictionary()
                format: 2
                instanceVariables: nil
                organization: ('as yet unclassified')

                subclasses: nil
                name: #ToolSet
                classPool: nil
                sharedPools: nil
                environment: Smalltalk
                category: #'System-Applications'
                traitComposition: nil
                localSelectors: nil
                registeredClasses: an OrderedCollection(StandardToolSet  
NewInspectorToolSet DEV...etc...
                default: DEVToolSet

OBTextMorphWithShout(TextMorph)>>keyStroke:
        Receiver: an OBTextMorphWithShout(1510)
        Arguments and temporary variables:
                evt: [keystroke 'N']
        Receiver's instance variables:
                bounds: 0@0 corner: 734@142
                owner: a TransformMorph(3565)
                submorphs: #()
                fullBounds: 0@0 corner: 734@142
                color: Color black
                extension: a MorphExtension (1337) [other:  (blinkStart -> 1371674)]
                borderWidth: 0
                borderColor: Color black
                textStyle: a TextStyle DejaVu Sans Mono
                text: a Text for '



A custom item for the  Squeakland Supplies bin, as define...etc...
                wrapFlag: true
                paragraph: a MultiNewParagraph
                editor: an OBTextMorphEditorWithShout
                container: nil
                predecessor: nil
                successor: nil
                backgroundColor: nil
                margins: nil
                editHistory: a TextMorphCommandHistory
                editView: an OBPluggableTextMorphWithShout(2263)
                acceptOnCR: false

OBTextMorphWithShout(TextMorphForEditView)>>keyStroke:
        Receiver: an OBTextMorphWithShout(1510)
        Arguments and temporary variables:
                evt: [keystroke 'N']
                view: an OBPluggableTextMorphWithShout(2263)
        Receiver's instance variables:
                bounds: 0@0 corner: 734@142
                owner: a TransformMorph(3565)
                submorphs: #()
                fullBounds: 0@0 corner: 734@142
                color: Color black
                extension: a MorphExtension (1337) [other:  (blinkStart -> 1371674)]
                borderWidth: 0
                borderColor: Color black
                textStyle: a TextStyle DejaVu Sans Mono
                text: a Text for '



A custom item for the  Squeakland Supplies bin, as define...etc...
                wrapFlag: true
                paragraph: a MultiNewParagraph
                editor: an OBTextMorphEditorWithShout
                container: nil
                predecessor: nil
                successor: nil
                backgroundColor: nil
                margins: nil
                editHistory: a TextMorphCommandHistory
                editView: an OBPluggableTextMorphWithShout(2263)
                acceptOnCR: false

OBTextMorphWithShout(TextMorph)>>handleKeystroke:
        Receiver: an OBTextMorphWithShout(1510)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
                pasteUp: nil
        Receiver's instance variables:
                bounds: 0@0 corner: 734@142
                owner: a TransformMorph(3565)
                submorphs: #()
                fullBounds: 0@0 corner: 734@142
                color: Color black
                extension: a MorphExtension (1337) [other:  (blinkStart -> 1371674)]
                borderWidth: 0
                borderColor: Color black
                textStyle: a TextStyle DejaVu Sans Mono
                text: a Text for '



A custom item for the  Squeakland Supplies bin, as define...etc...
                wrapFlag: true
                paragraph: a MultiNewParagraph
                editor: an OBTextMorphEditorWithShout
                container: nil
                predecessor: nil
                successor: nil
                backgroundColor: nil
                margins: nil
                editHistory: a TextMorphCommandHistory
                editView: an OBPluggableTextMorphWithShout(2263)
                acceptOnCR: false

KeyboardEvent>>sentTo:
        Receiver: [keystroke 'N']
        Arguments and temporary variables:
                anObject: an OBTextMorphWithShout(1510)
        Receiver's instance variables:
                timeStamp: 1371153
                source: a HandMorph(3216)
                windowIndex: nil
                type: #keystroke
                buttons: 8
                position: 2@66
                handler: nil
                wasHandled: true
                keyValue: 78
                charCode: 78
                scanCode: 45

OBTextMorphWithShout(Morph)>>handleEvent:
        Receiver: an OBTextMorphWithShout(1510)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
        Receiver's instance variables:
                bounds: 0@0 corner: 734@142
                owner: a TransformMorph(3565)
                submorphs: #()
                fullBounds: 0@0 corner: 734@142
                color: Color black
                extension: a MorphExtension (1337) [other:  (blinkStart -> 1371674)]
                borderWidth: 0
                borderColor: Color black
                textStyle: a TextStyle DejaVu Sans Mono
                text: a Text for '



A custom item for the  Squeakland Supplies bin, as define...etc...
                wrapFlag: true
                paragraph: a MultiNewParagraph
                editor: an OBTextMorphEditorWithShout
                container: nil
                predecessor: nil
                successor: nil
                backgroundColor: nil
                margins: nil
                editHistory: a TextMorphCommandHistory
                editView: an OBPluggableTextMorphWithShout(2263)
                acceptOnCR: false

OBTextMorphWithShout(Morph)>>handleFocusEvent:
        Receiver: an OBTextMorphWithShout(1510)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
        Receiver's instance variables:
                bounds: 0@0 corner: 734@142
                owner: a TransformMorph(3565)
                submorphs: #()
                fullBounds: 0@0 corner: 734@142
                color: Color black
                extension: a MorphExtension (1337) [other:  (blinkStart -> 1371674)]
                borderWidth: 0
                borderColor: Color black
                textStyle: a TextStyle DejaVu Sans Mono
                text: a Text for '



A custom item for the  Squeakland Supplies bin, as define...etc...
                wrapFlag: true
                paragraph: a MultiNewParagraph
                editor: an OBTextMorphEditorWithShout
                container: nil
                predecessor: nil
                successor: nil
                backgroundColor: nil
                margins: nil
                editHistory: a TextMorphCommandHistory
                editView: an OBPluggableTextMorphWithShout(2263)
                acceptOnCR: false

[] in HandMorph>>sendFocusEvent:to:clear:
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

[] in PasteUpMorph>>becomeActiveDuring:
        Receiver: a PasteUpMorph(1622) [world]
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                bounds: 0@0 corner: 1579@1009
                owner: nil
                submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
SystemWindow(10...etc...
                fullBounds: 0@0 corner: 1579@1009
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (2543) [eventHandler = an  
EventHandler]  [other:  (...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                presenter: a Presenter (1246)
                model: a MorphicModel(1926)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                isPartsBin: nil
                autoLineLayout: false
                indicateCursor: nil
                resizeToFit: nil
                wantsMouseOverHalos: nil
                worldState: a WorldState
                griddingOn: nil

BlockClosure>>on:do:
        Receiver: [closure] in PasteUpMorph>>becomeActiveDuring:
        Arguments and temporary variables:
                exception: Error
                handlerAction: [closure] in PasteUpMorph>>becomeActiveDuring:
                handlerActive: false
        Receiver's instance variables:
                outerContext: PasteUpMorph>>becomeActiveDuring:
                startpc: 67
                numArgs: 0

PasteUpMorph>>becomeActiveDuring:
        Receiver: a PasteUpMorph(1622) [world]
        Arguments and temporary variables:
                aBlock: [closure] in HandMorph>>sendFocusEvent:to:clear:
                priorWorld: a PasteUpMorph(1622) [world]
                priorHand: a HandMorph(3216)
                priorEvent: nil
        Receiver's instance variables:
                bounds: 0@0 corner: 1579@1009
                owner: nil
                submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
SystemWindow(10...etc...
                fullBounds: 0@0 corner: 1579@1009
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (2543) [eventHandler = an  
EventHandler]  [other:  (...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                presenter: a Presenter (1246)
                model: a MorphicModel(1926)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                isPartsBin: nil
                autoLineLayout: false
                indicateCursor: nil
                resizeToFit: nil
                wantsMouseOverHalos: nil
                worldState: a WorldState
                griddingOn: nil

HandMorph>>sendFocusEvent:to:clear:
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
                focusHolder: an OBTextMorphWithShout(1510)
                aBlock: [closure] in HandMorph>>sendKeyboardEvent:
                w: a PasteUpMorph(1622) [world]
                result: #(nil)
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

HandMorph>>sendEvent:focus:clear:
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
                focusHolder: an OBTextMorphWithShout(1510)
                aBlock: [closure] in HandMorph>>sendKeyboardEvent:
                result: nil
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

HandMorph>>sendKeyboardEvent:
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

HandMorph>>handleEvent:
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
                anEvent: [keystroke 'N']
                evt: [keystroke 'N']
                ofs: nil
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

HandMorph>>processEvents
        Receiver: a HandMorph(3216)
        Arguments and temporary variables:
                evt: [keystroke 'N']
                evtBuf: #(2 1371153 78 0 1 78 0 1)
                type: 2
                hadAny: true
        Receiver's instance variables:
                bounds: 1088@551 corner: 1104@567
                owner: a PasteUpMorph(1622) [world]
                submorphs: #()
                fullBounds: 1088@551 corner: 1104@567
                color: Color blue
                extension: a MorphExtension (539) [eventHandler = an EventHandler]
                mouseFocus: nil
                keyboardFocus: nil
                eventListeners: nil
                mouseListeners: nil
                keyboardListeners: nil
                mouseClickState: nil
                mouseOverHandler: a MouseOverHandler
                lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
                targetOffset: 73@9
                damageRecorder: a DamageRecorder
                cacheCanvas: nil
                cachedCanvasHasHoles: true
                temporaryCursor: nil
                temporaryCursorOffset: nil
                hardwareCursor: nil
                hasChanged: true
                savedPatch: nil
                userInitials: ''
                lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
                lastKeyScanCode: 36
                combinedChar: nil

[] in WorldState>>doOneCycleNowFor:
        Receiver: a WorldState
        Arguments and temporary variables:
<<error during printing>
        Receiver's instance variables:
                hands: an Array(a HandMorph(3216))
                viewBox: 0@0 corner: 1579@1009
                canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a FrameRateMorph(1816)'23  
mSecs (43 fr...etc...
                lastStepTime: 1387913
                lastStepMessage: nil
                lastCycleTime: 1387835
                commandHistory: a CommandHistory
                alarms: a Heap()
                lastAlarmTime: 1387913

Array(SequenceableCollection)>>do:
        Receiver: an Array(a HandMorph(3216))
        Arguments and temporary variables:
                aBlock: [closure] in WorldState>>doOneCycleNowFor:
                index: 1
                indexLimiT: 1
        Receiver's instance variables:
an Array(a HandMorph(3216))

WorldState>>handsDo:
        Receiver: a WorldState
        Arguments and temporary variables:
                aBlock: [closure] in WorldState>>doOneCycleNowFor:
        Receiver's instance variables:
                hands: an Array(a HandMorph(3216))
                viewBox: 0@0 corner: 1579@1009
                canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a FrameRateMorph(1816)'23  
mSecs (43 fr...etc...
                lastStepTime: 1387913
                lastStepMessage: nil
                lastCycleTime: 1387835
                commandHistory: a CommandHistory
                alarms: a Heap()
                lastAlarmTime: 1387913

WorldState>>doOneCycleNowFor:
        Receiver: a WorldState
        Arguments and temporary variables:
                aWorld: a PasteUpMorph(1622) [world]
        Receiver's instance variables:
                hands: an Array(a HandMorph(3216))
                viewBox: 0@0 corner: 1579@1009
                canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a FrameRateMorph(1816)'23  
mSecs (43 fr...etc...
                lastStepTime: 1387913
                lastStepMessage: nil
                lastCycleTime: 1387835
                commandHistory: a CommandHistory
                alarms: a Heap()
                lastAlarmTime: 1387913

WorldState>>doOneCycleFor:
        Receiver: a WorldState
        Arguments and temporary variables:
                aWorld: a PasteUpMorph(1622) [world]
        Receiver's instance variables:
                hands: an Array(a HandMorph(3216))
                viewBox: 0@0 corner: 1579@1009
                canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
                damageRecorder: a DamageRecorder
                stepList: a Heap(StepMessage(#stepAt: -> a FrameRateMorph(1816)'23  
mSecs (43 fr...etc...
                lastStepTime: 1387913
                lastStepMessage: nil
                lastCycleTime: 1387835
                commandHistory: a CommandHistory
                alarms: a Heap()
                lastAlarmTime: 1387913

PasteUpMorph>>doOneCycle
        Receiver: a PasteUpMorph(1622) [world]
        Arguments and temporary variables:

        Receiver's instance variables:
                bounds: 0@0 corner: 1579@1009
                owner: nil
                submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
SystemWindow(10...etc...
                fullBounds: 0@0 corner: 1579@1009
                color: (Color r: 0.97 g: 0.98 b: 1.0)
                extension: a MorphExtension (2543) [eventHandler = an  
EventHandler]  [other:  (...etc...
                borderWidth: 0
                borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
                presenter: a Presenter (1246)
                model: a MorphicModel(1926)
                cursor: 1
                padding: 3
                backgroundMorph: nil
                isPartsBin: nil
                autoLineLayout: false
                indicateCursor: nil
                resizeToFit: nil
                wantsMouseOverHalos: nil
                worldState: a WorldState
                griddingOn: nil

[] in Project class>>spawnNewProcess
        Receiver: Project
        Arguments and temporary variables:

        Receiver's instance variables:
                superclass: Model
                methodDict: a MethodDictionary(size 168)
                format: 172
                instanceVariables: #('world' 'changeSet' 'transcript'  
'parentProject' 'previous...etc...
                organization: ('*Polymorph-Widgets'  
assureTaskbarPresenceMatchesPreference crea...etc...
                subclasses: nil
                name: #Project
                classPool: a Dictionary(#AllProjects->an OrderedCollection(a  
Project(FixColorFo...etc...
                sharedPools: nil
                environment: Smalltalk
                category: #'System-Support'
                traitComposition: {}
                localSelectors: nil

[] in BlockClosure>>newProcess
        Receiver: [closure] in Project class>>spawnNewProcess
        Arguments and temporary variables:

        Receiver's instance variables:
                outerContext: Project class>>spawnNewProcess
                startpc: 53
                numArgs: 0


--- The full stack ---
OrderedCollection(Object)>>error:
OrderedCollection>>errorNoSuchElement
OrderedCollection>>at:
OContext(ECContext)>>createEmptyRangeForGapAt:
OContext(ECContext)>>computeIndexOfPosition
OContext(ECContext)>>compute
OContext(ECContext)>>setController:class:source:position:
OContext class(ECContext class)>>controller:class:source:position:
OController>>openMenuFor:
OController>>handleKeystrokeBefore:editor:
ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
DEVToolSet class>>codeCompletionAround:textMorph:keyStroke:
ToolSet class>>codeCompletionAround:textMorph:keyStroke:
OBTextMorphWithShout(TextMorph)>>keyStroke:
OBTextMorphWithShout(TextMorphForEditView)>>keyStroke:
OBTextMorphWithShout(TextMorph)>>handleKeystroke:
KeyboardEvent>>sentTo:
OBTextMorphWithShout(Morph)>>handleEvent:
OBTextMorphWithShout(Morph)>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
[] in PasteUpMorph>>becomeActiveDuring:
BlockClosure>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendKeyboardEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockClosure>>newProcess


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Picture 6.png (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OCompletion nice bug and that we can reproduce :)

Stéphane Ducasse
apparently there should not be no text on the top (before the  
paragraph that starts the line)

PS: I wanted to add something on the top of a class comment
Stef

On Aug 20, 2009, at 10:02 AM, Stéphane Ducasse wrote:

> Hi romain
>
> if you put the cursor at the beginning of an existing line and try  
> to type for example N then you get that
> <Picture 6.png>
>
>
>
>
> Stef
>
>
> 20 August 2009 10:00:54 am
>
> VM: Mac OS - intel - 1058 - Squeak3.8.1 of '28 Aug 2006' [latest  
> update: #6747] Squeak VM 4.1.1b2
> Image: Pharo1.0beta [Latest update: #10414]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /Users/ducasse/Workspace/FirstCircle/ActiveResearch/
> Pharo/Pharo
> Trusted Dir /foobar/tooBar/forSqueak/bogus
> Untrusted Dir /Users/ducasse/Library/Preferences/Squeak/Internet/My  
> Squeak
>
> OrderedCollection(Object)>>error:
> Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange a SHRange a SHRange...etc...
> Arguments and temporary variables:
> aString: 'attempt to index non-existent element in an ordered  
> collection'
> Receiver's instance variables:
> array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange  
> a SHRange a S...etc...
> firstIndex: 1
> lastIndex: 33
>
> OrderedCollection>>errorNoSuchElement
> Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange a SHRange a SHRange...etc...
> Arguments and temporary variables:
>
> Receiver's instance variables:
> array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange  
> a SHRange a S...etc...
> firstIndex: 1
> lastIndex: 33
>
> OrderedCollection>>at:
> Receiver: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange a SHRange a SHRange...etc...
> Arguments and temporary variables:
> anInteger: 0
> Receiver's instance variables:
> array: an Array(a SHRange a SHRange a SHRange a SHRange a SHRange  
> a SHRange a S...etc...
> firstIndex: 1
> lastIndex: 33
>
> OContext(ECContext)>>createEmptyRangeForGapAt:
> Receiver: an OContext
> Arguments and temporary variables:
> index: 1
> current: a SHRange
> previous: nil
> Receiver's instance variables:
> source: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim ...etc...
> position: 4
> theClass: StickyPadMorph
> ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange ...etc...
> completionIndex: 0
> recurseCount: 0
> receiverClass: nil
> completionToken: nil
> model: nil
> controller: an OController
> variables: true
> selectors: true
> typeInfos: nil
>
> OContext(ECContext)>>computeIndexOfPosition
> Receiver: an OContext
> Arguments and temporary variables:
> current: a SHRange
> index: 1
> indexLimiT: 33
> Receiver's instance variables:
> source: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim ...etc...
> position: 4
> theClass: StickyPadMorph
> ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange ...etc...
> completionIndex: 0
> recurseCount: 0
> receiverClass: nil
> completionToken: nil
> model: nil
> controller: an OController
> variables: true
> selectors: true
> typeInfos: nil
>
> OContext(ECContext)>>compute
> Receiver: an OContext
> Arguments and temporary variables:
>
> Receiver's instance variables:
> source: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim ...etc...
> position: 4
> theClass: StickyPadMorph
> ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange ...etc...
> completionIndex: 0
> recurseCount: 0
> receiverClass: nil
> completionToken: nil
> model: nil
> controller: an OController
> variables: true
> selectors: true
> typeInfos: nil
>
> OContext(ECContext)>>setController:class:source:position:
> Receiver: an OContext
> Arguments and temporary variables:
> aECController: an OController
> aClass: StickyPadMorph
> aString: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim...etc...
> anInteger: 4
> Receiver's instance variables:
> source: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim ...etc...
> position: 4
> theClass: StickyPadMorph
> ranges: an OrderedCollection(a SHRange a SHRange a SHRange a  
> SHRange a SHRange ...etc...
> completionIndex: 0
> recurseCount: 0
> receiverClass: nil
> completionToken: nil
> model: nil
> controller: an OController
> variables: true
> selectors: true
> typeInfos: nil
>
> OContext class(ECContext class)>>controller:class:source:position:
> Receiver: OContext
> Arguments and temporary variables:
> aECController: an OController
> aClass: StickyPadMorph
> aString: '
>
>
>
> A custom item for the  Squeakland Supplies bin, as defined by  
> Kim...etc...
> anInteger: 4
> Receiver's instance variables:
> superclass: ECContext
> methodDict: a MethodDictionary(#createModel->a CompiledMethod  
> (2538) #initializ...etc...
> format: 156
> instanceVariables: nil
> organization: ('model creation' createModel initialize)
>
> subclasses: nil
> name: #OContext
> classPool: nil
> sharedPools: nil
> environment: Smalltalk
> category: #Ocompletion
> traitComposition: nil
> localSelectors: nil
>
> OController>>openMenuFor:
> Receiver: an OController
> Arguments and temporary variables:
> aParagraphEditor: an OBTextMorphEditorWithShout
> theMenu: nil
> Receiver's instance variables:
> model: an OBDefinitionPanel
> menuMorph: nil
> editor: an OBTextMorphEditorWithShout
> context: nil
> oppositeChar: nil
> expanded: false
> contextClass: OContext
>
> OController>>handleKeystrokeBefore:editor:
> Receiver: an OController
> Arguments and temporary variables:
> kbEvent: [keystroke 'N']
> edit: an OBTextMorphEditorWithShout
> keyValue: 78
> ctrl: false
> cmd: false
> down: false
> tab: false
> colon: false
> alphanum: true
> del: false
> esc: false
> Receiver's instance variables:
> model: an OBDefinitionPanel
> menuMorph: nil
> editor: an OBTextMorphEditorWithShout
> context: nil
> oppositeChar: nil
> expanded: false
> contextClass: OContext
>
> ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
> Receiver: ECToolSet
> Arguments and temporary variables:
> aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
> aTextMorph: an OBTextMorphWithShout(1510)
> evt: [keystroke 'N']
> completionAllowed: true
> editor: an OBTextMorphEditorWithShout
> stringHolder: an OBDefinitionPanel
> Receiver's instance variables:
> superclass: StandardToolSet
> methodDict: a MethodDictionary()
> format: 2
> instanceVariables: nil
> organization: ('as yet unclassified')
>
> subclasses: nil
> name: #ECToolSet
> classPool: nil
> sharedPools: nil
> environment: Smalltalk
> category: #'Ocompletion-ECSqueak'
> traitComposition: nil
> localSelectors: nil
>
> DEVToolSet class>>codeCompletionAround:textMorph:keyStroke:
> Receiver: DEVToolSet
> Arguments and temporary variables:
> aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
> aTextMorph: an OBTextMorphWithShout(1510)
> evt: [keystroke 'N']
> toolSet: ECToolSet
> Receiver's instance variables:
> superclass: StandardToolSet
> methodDict: a MethodDictionary()
> format: 2
> instanceVariables: nil
> organization: ('as yet unclassified')
>
> subclasses: nil
> name: #DEVToolSet
> classPool: nil
> sharedPools: nil
> environment: Smalltalk
> category: #ImageForDevelopers
> traitComposition: nil
> localSelectors: nil
>
> ToolSet class>>codeCompletionAround:textMorph:keyStroke:
> Receiver: ToolSet
> Arguments and temporary variables:
> aBlock: [closure] in OBTextMorphWithShout(TextMorph)>>keyStroke:
> aTextMorph: an OBTextMorphWithShout(1510)
> evt: [keystroke 'N']
> Receiver's instance variables:
> superclass: AppRegistry
> methodDict: a MethodDictionary()
> format: 2
> instanceVariables: nil
> organization: ('as yet unclassified')
>
> subclasses: nil
> name: #ToolSet
> classPool: nil
> sharedPools: nil
> environment: Smalltalk
> category: #'System-Applications'
> traitComposition: nil
> localSelectors: nil
> registeredClasses: an OrderedCollection(StandardToolSet  
> NewInspectorToolSet DEV...etc...
> default: DEVToolSet
>
> OBTextMorphWithShout(TextMorph)>>keyStroke:
> Receiver: an OBTextMorphWithShout(1510)
> Arguments and temporary variables:
> evt: [keystroke 'N']
> Receiver's instance variables:
> bounds: 0@0 corner: 734@142
> owner: a TransformMorph(3565)
> submorphs: #()
> fullBounds: 0@0 corner: 734@142
> color: Color black
> extension: a MorphExtension (1337) [other:  (blinkStart ->  
> 1371674)]
> borderWidth: 0
> borderColor: Color black
> textStyle: a TextStyle DejaVu Sans Mono
> text: a Text for '
>
>
>
> A custom item for the  Squeakland Supplies bin, as define...etc...
> wrapFlag: true
> paragraph: a MultiNewParagraph
> editor: an OBTextMorphEditorWithShout
> container: nil
> predecessor: nil
> successor: nil
> backgroundColor: nil
> margins: nil
> editHistory: a TextMorphCommandHistory
> editView: an OBPluggableTextMorphWithShout(2263)
> acceptOnCR: false
>
> OBTextMorphWithShout(TextMorphForEditView)>>keyStroke:
> Receiver: an OBTextMorphWithShout(1510)
> Arguments and temporary variables:
> evt: [keystroke 'N']
> view: an OBPluggableTextMorphWithShout(2263)
> Receiver's instance variables:
> bounds: 0@0 corner: 734@142
> owner: a TransformMorph(3565)
> submorphs: #()
> fullBounds: 0@0 corner: 734@142
> color: Color black
> extension: a MorphExtension (1337) [other:  (blinkStart ->  
> 1371674)]
> borderWidth: 0
> borderColor: Color black
> textStyle: a TextStyle DejaVu Sans Mono
> text: a Text for '
>
>
>
> A custom item for the  Squeakland Supplies bin, as define...etc...
> wrapFlag: true
> paragraph: a MultiNewParagraph
> editor: an OBTextMorphEditorWithShout
> container: nil
> predecessor: nil
> successor: nil
> backgroundColor: nil
> margins: nil
> editHistory: a TextMorphCommandHistory
> editView: an OBPluggableTextMorphWithShout(2263)
> acceptOnCR: false
>
> OBTextMorphWithShout(TextMorph)>>handleKeystroke:
> Receiver: an OBTextMorphWithShout(1510)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> pasteUp: nil
> Receiver's instance variables:
> bounds: 0@0 corner: 734@142
> owner: a TransformMorph(3565)
> submorphs: #()
> fullBounds: 0@0 corner: 734@142
> color: Color black
> extension: a MorphExtension (1337) [other:  (blinkStart ->  
> 1371674)]
> borderWidth: 0
> borderColor: Color black
> textStyle: a TextStyle DejaVu Sans Mono
> text: a Text for '
>
>
>
> A custom item for the  Squeakland Supplies bin, as define...etc...
> wrapFlag: true
> paragraph: a MultiNewParagraph
> editor: an OBTextMorphEditorWithShout
> container: nil
> predecessor: nil
> successor: nil
> backgroundColor: nil
> margins: nil
> editHistory: a TextMorphCommandHistory
> editView: an OBPluggableTextMorphWithShout(2263)
> acceptOnCR: false
>
> KeyboardEvent>>sentTo:
> Receiver: [keystroke 'N']
> Arguments and temporary variables:
> anObject: an OBTextMorphWithShout(1510)
> Receiver's instance variables:
> timeStamp: 1371153
> source: a HandMorph(3216)
> windowIndex: nil
> type: #keystroke
> buttons: 8
> position: 2@66
> handler: nil
> wasHandled: true
> keyValue: 78
> charCode: 78
> scanCode: 45
>
> OBTextMorphWithShout(Morph)>>handleEvent:
> Receiver: an OBTextMorphWithShout(1510)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> Receiver's instance variables:
> bounds: 0@0 corner: 734@142
> owner: a TransformMorph(3565)
> submorphs: #()
> fullBounds: 0@0 corner: 734@142
> color: Color black
> extension: a MorphExtension (1337) [other:  (blinkStart ->  
> 1371674)]
> borderWidth: 0
> borderColor: Color black
> textStyle: a TextStyle DejaVu Sans Mono
> text: a Text for '
>
>
>
> A custom item for the  Squeakland Supplies bin, as define...etc...
> wrapFlag: true
> paragraph: a MultiNewParagraph
> editor: an OBTextMorphEditorWithShout
> container: nil
> predecessor: nil
> successor: nil
> backgroundColor: nil
> margins: nil
> editHistory: a TextMorphCommandHistory
> editView: an OBPluggableTextMorphWithShout(2263)
> acceptOnCR: false
>
> OBTextMorphWithShout(Morph)>>handleFocusEvent:
> Receiver: an OBTextMorphWithShout(1510)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> Receiver's instance variables:
> bounds: 0@0 corner: 734@142
> owner: a TransformMorph(3565)
> submorphs: #()
> fullBounds: 0@0 corner: 734@142
> color: Color black
> extension: a MorphExtension (1337) [other:  (blinkStart ->  
> 1371674)]
> borderWidth: 0
> borderColor: Color black
> textStyle: a TextStyle DejaVu Sans Mono
> text: a Text for '
>
>
>
> A custom item for the  Squeakland Supplies bin, as define...etc...
> wrapFlag: true
> paragraph: a MultiNewParagraph
> editor: an OBTextMorphEditorWithShout
> container: nil
> predecessor: nil
> successor: nil
> backgroundColor: nil
> margins: nil
> editHistory: a TextMorphCommandHistory
> editView: an OBPluggableTextMorphWithShout(2263)
> acceptOnCR: false
>
> [] in HandMorph>>sendFocusEvent:to:clear:
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> [] in PasteUpMorph>>becomeActiveDuring:
> Receiver: a PasteUpMorph(1622) [world]
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> bounds: 0@0 corner: 1579@1009
> owner: nil
> submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
> SystemWindow(10...etc...
> fullBounds: 0@0 corner: 1579@1009
> color: (Color r: 0.97 g: 0.98 b: 1.0)
> extension: a MorphExtension (2543) [eventHandler = an  
> EventHandler]  [other:  (...etc...
> borderWidth: 0
> borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
> presenter: a Presenter (1246)
> model: a MorphicModel(1926)
> cursor: 1
> padding: 3
> backgroundMorph: nil
> isPartsBin: nil
> autoLineLayout: false
> indicateCursor: nil
> resizeToFit: nil
> wantsMouseOverHalos: nil
> worldState: a WorldState
> griddingOn: nil
>
> BlockClosure>>on:do:
> Receiver: [closure] in PasteUpMorph>>becomeActiveDuring:
> Arguments and temporary variables:
> exception: Error
> handlerAction: [closure] in PasteUpMorph>>becomeActiveDuring:
> handlerActive: false
> Receiver's instance variables:
> outerContext: PasteUpMorph>>becomeActiveDuring:
> startpc: 67
> numArgs: 0
>
> PasteUpMorph>>becomeActiveDuring:
> Receiver: a PasteUpMorph(1622) [world]
> Arguments and temporary variables:
> aBlock: [closure] in HandMorph>>sendFocusEvent:to:clear:
> priorWorld: a PasteUpMorph(1622) [world]
> priorHand: a HandMorph(3216)
> priorEvent: nil
> Receiver's instance variables:
> bounds: 0@0 corner: 1579@1009
> owner: nil
> submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
> SystemWindow(10...etc...
> fullBounds: 0@0 corner: 1579@1009
> color: (Color r: 0.97 g: 0.98 b: 1.0)
> extension: a MorphExtension (2543) [eventHandler = an  
> EventHandler]  [other:  (...etc...
> borderWidth: 0
> borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
> presenter: a Presenter (1246)
> model: a MorphicModel(1926)
> cursor: 1
> padding: 3
> backgroundMorph: nil
> isPartsBin: nil
> autoLineLayout: false
> indicateCursor: nil
> resizeToFit: nil
> wantsMouseOverHalos: nil
> worldState: a WorldState
> griddingOn: nil
>
> HandMorph>>sendFocusEvent:to:clear:
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> focusHolder: an OBTextMorphWithShout(1510)
> aBlock: [closure] in HandMorph>>sendKeyboardEvent:
> w: a PasteUpMorph(1622) [world]
> result: #(nil)
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> HandMorph>>sendEvent:focus:clear:
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> focusHolder: an OBTextMorphWithShout(1510)
> aBlock: [closure] in HandMorph>>sendKeyboardEvent:
> result: nil
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> HandMorph>>sendKeyboardEvent:
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> HandMorph>>handleEvent:
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> anEvent: [keystroke 'N']
> evt: [keystroke 'N']
> ofs: nil
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> HandMorph>>processEvents
> Receiver: a HandMorph(3216)
> Arguments and temporary variables:
> evt: [keystroke 'N']
> evtBuf: #(2 1371153 78 0 1 78 0 1)
> type: 2
> hadAny: true
> Receiver's instance variables:
> bounds: 1088@551 corner: 1104@567
> owner: a PasteUpMorph(1622) [world]
> submorphs: #()
> fullBounds: 1088@551 corner: 1104@567
> color: Color blue
> extension: a MorphExtension (539) [eventHandler = an EventHandler]
> mouseFocus: nil
> keyboardFocus: nil
> eventListeners: nil
> mouseListeners: nil
> keyboardListeners: nil
> mouseClickState: nil
> mouseOverHandler: a MouseOverHandler
> lastMouseEvent: [1089@551 1088@551 mouseMove 1385454 nil]
> targetOffset: 73@9
> damageRecorder: a DamageRecorder
> cacheCanvas: nil
> cachedCanvasHasHoles: true
> temporaryCursor: nil
> temporaryCursorOffset: nil
> hardwareCursor: nil
> hasChanged: true
> savedPatch: nil
> userInitials: ''
> lastEventBuffer: #(1 1385454 1088 551 0 0 0 1)
> lastKeyScanCode: 36
> combinedChar: nil
>
> [] in WorldState>>doOneCycleNowFor:
> Receiver: a WorldState
> Arguments and temporary variables:
> <<error during printing>
> Receiver's instance variables:
> hands: an Array(a HandMorph(3216))
> viewBox: 0@0 corner: 1579@1009
> canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
> damageRecorder: a DamageRecorder
> stepList: a Heap(StepMessage(#stepAt: -> a  
> FrameRateMorph(1816)'23 mSecs (43 fr...etc...
> lastStepTime: 1387913
> lastStepMessage: nil
> lastCycleTime: 1387835
> commandHistory: a CommandHistory
> alarms: a Heap()
> lastAlarmTime: 1387913
>
> Array(SequenceableCollection)>>do:
> Receiver: an Array(a HandMorph(3216))
> Arguments and temporary variables:
> aBlock: [closure] in WorldState>>doOneCycleNowFor:
> index: 1
> indexLimiT: 1
> Receiver's instance variables:
> an Array(a HandMorph(3216))
>
> WorldState>>handsDo:
> Receiver: a WorldState
> Arguments and temporary variables:
> aBlock: [closure] in WorldState>>doOneCycleNowFor:
> Receiver's instance variables:
> hands: an Array(a HandMorph(3216))
> viewBox: 0@0 corner: 1579@1009
> canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
> damageRecorder: a DamageRecorder
> stepList: a Heap(StepMessage(#stepAt: -> a  
> FrameRateMorph(1816)'23 mSecs (43 fr...etc...
> lastStepTime: 1387913
> lastStepMessage: nil
> lastCycleTime: 1387835
> commandHistory: a CommandHistory
> alarms: a Heap()
> lastAlarmTime: 1387913
>
> WorldState>>doOneCycleNowFor:
> Receiver: a WorldState
> Arguments and temporary variables:
> aWorld: a PasteUpMorph(1622) [world]
> Receiver's instance variables:
> hands: an Array(a HandMorph(3216))
> viewBox: 0@0 corner: 1579@1009
> canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
> damageRecorder: a DamageRecorder
> stepList: a Heap(StepMessage(#stepAt: -> a  
> FrameRateMorph(1816)'23 mSecs (43 fr...etc...
> lastStepTime: 1387913
> lastStepMessage: nil
> lastCycleTime: 1387835
> commandHistory: a CommandHistory
> alarms: a Heap()
> lastAlarmTime: 1387913
>
> WorldState>>doOneCycleFor:
> Receiver: a WorldState
> Arguments and temporary variables:
> aWorld: a PasteUpMorph(1622) [world]
> Receiver's instance variables:
> hands: an Array(a HandMorph(3216))
> viewBox: 0@0 corner: 1579@1009
> canvas: a FormCanvas on: DisplayScreen(1579x1009x32)
> damageRecorder: a DamageRecorder
> stepList: a Heap(StepMessage(#stepAt: -> a  
> FrameRateMorph(1816)'23 mSecs (43 fr...etc...
> lastStepTime: 1387913
> lastStepMessage: nil
> lastCycleTime: 1387835
> commandHistory: a CommandHistory
> alarms: a Heap()
> lastAlarmTime: 1387913
>
> PasteUpMorph>>doOneCycle
> Receiver: a PasteUpMorph(1622) [world]
> Arguments and temporary variables:
>
> Receiver's instance variables:
> bounds: 0@0 corner: 1579@1009
> owner: nil
> submorphs: an Array(a TaskbarMorph(3095) a SystemWindow(1165) a  
> SystemWindow(10...etc...
> fullBounds: 0@0 corner: 1579@1009
> color: (Color r: 0.97 g: 0.98 b: 1.0)
> extension: a MorphExtension (2543) [eventHandler = an  
> EventHandler]  [other:  (...etc...
> borderWidth: 0
> borderColor: (Color r: 0.03 g: 0.02 b: 0.0)
> presenter: a Presenter (1246)
> model: a MorphicModel(1926)
> cursor: 1
> padding: 3
> backgroundMorph: nil
> isPartsBin: nil
> autoLineLayout: false
> indicateCursor: nil
> resizeToFit: nil
> wantsMouseOverHalos: nil
> worldState: a WorldState
> griddingOn: nil
>
> [] in Project class>>spawnNewProcess
> Receiver: Project
> Arguments and temporary variables:
>
> Receiver's instance variables:
> superclass: Model
> methodDict: a MethodDictionary(size 168)
> format: 172
> instanceVariables: #('world' 'changeSet' 'transcript'  
> 'parentProject' 'previous...etc...
> organization: ('*Polymorph-Widgets'  
> assureTaskbarPresenceMatchesPreference crea...etc...
> subclasses: nil
> name: #Project
> classPool: a Dictionary(#AllProjects->an OrderedCollection(a  
> Project(FixColorFo...etc...
> sharedPools: nil
> environment: Smalltalk
> category: #'System-Support'
> traitComposition: {}
> localSelectors: nil
>
> [] in BlockClosure>>newProcess
> Receiver: [closure] in Project class>>spawnNewProcess
> Arguments and temporary variables:
>
> Receiver's instance variables:
> outerContext: Project class>>spawnNewProcess
> startpc: 53
> numArgs: 0
>
>
> --- The full stack ---
> OrderedCollection(Object)>>error:
> OrderedCollection>>errorNoSuchElement
> OrderedCollection>>at:
> OContext(ECContext)>>createEmptyRangeForGapAt:
> OContext(ECContext)>>computeIndexOfPosition
> OContext(ECContext)>>compute
> OContext(ECContext)>>setController:class:source:position:
> OContext class(ECContext class)>>controller:class:source:position:
> OController>>openMenuFor:
> OController>>handleKeystrokeBefore:editor:
> ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
> DEVToolSet class>>codeCompletionAround:textMorph:keyStroke:
> ToolSet class>>codeCompletionAround:textMorph:keyStroke:
> OBTextMorphWithShout(TextMorph)>>keyStroke:
> OBTextMorphWithShout(TextMorphForEditView)>>keyStroke:
> OBTextMorphWithShout(TextMorph)>>handleKeystroke:
> KeyboardEvent>>sentTo:
> OBTextMorphWithShout(Morph)>>handleEvent:
> OBTextMorphWithShout(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear:
> [] in PasteUpMorph>>becomeActiveDuring:
> BlockClosure>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendKeyboardEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor:
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess
> [] in BlockClosure>>newProcess
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project