Login  Register

RE: TextMorphEditor(Object)>>perform: #noUndoer withArguments:#(0) inSuperclass:

Posted by Gary Chambers-4 on Oct 08, 2007; 12:55pm
URL: https://forum.world.st/TextMorphEditor-Object-perform-noUndoer-withArguments-0-inSuperclass-tp133677p133678.html

Seems to be caused by ParagraphEditor>>openTypeIn doing self undoer:
#noUndoer with: 0 instead of self undoer: #noUndoer

Appears in 3.9 bas image too... nothing I've touched!

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]]On Behalf Of Klaus D.
> Witzel
> Sent: 08 October 2007 12:33 PM
> To: [hidden email]
> Subject: [UI] TextMorphEditor(Object)>>perform: #noUndoer
> withArguments:#(0) inSuperclass:
>
>
> I don't know where the below comes from, it happened in Damien's
> sq3.10-7145dev07.10.1.image (the one with preloaded UI Enhancements).
>
> Let me know if it has nothing to do with UI Enhancements, then
> I'll file a
> bug report.
>
> /Klaus
>
> Error: incorrect number of arguments
> 8 October 2007 9:12:38 am
>
> VM: Win32 - a SmalltalkImage
> Image: Squeak3.10beta [latest update: #7145]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir ...\SqueakDev
> Trusted Dir ...\SqueakDev\kWitzel
> Untrusted Dir ...\My Squeak\kWitzel
>
> TextMorphEditor(Object)>>error:
> Receiver: a TextMorphEditor
> Arguments and temporary variables:
> aString: 'incorrect number of arguments'
> Receiver's instance variables:
> model: a FileList2
> view: nil
> sensor: a KeyboardBuffer
> lastActivityTime: nil
> redButtonMenu: nil
> redButtonMessages: nil
> scrollBar: 0@0 corner: 0@0
> marker: 0@0 corner: 0@0
> savedArea: nil
> menuBar: 0@0 corner: 0@0
> savedMenuBarArea: nil
> paragraph: a MultiNewParagraph
> startBlock: a CharacterBlock with index 32142
> and character Character
> cr and re...etc...
> stopBlock: a CharacterBlock with index 32142
> and character Character cr
> and rec...etc...
> beginTypeInBlock: nil
> emphasisHere: an Array(a TextFontChange font: 2)
> initialText: a Text for '''From Squeak3.9 of 7
> November 2006 [latest
> update: #7...etc...
> selectionShowing: false
> otherInterval: (32116 to: 32115)
> lastParentLocation: nil
> morph: a TextMorphForEditView(993)
> oldInterval: (32142 to: 32141)
> pivotBlock: a CharacterBlock with index 32116
> and character Character
> tab and r...etc...
> editHistory: nil
>
> TextMorphEditor(Object)>>perform:withArguments:inSuperclass:
> Receiver: a TextMorphEditor
> Arguments and temporary variables:
> selector: #noUndoer
> argArray: #(0)
> lookupClass: TextMorphEditor
> Receiver's instance variables:
> model: a FileList2
> view: nil
> sensor: a KeyboardBuffer
> lastActivityTime: nil
> redButtonMenu: nil
> redButtonMessages: nil
> scrollBar: 0@0 corner: 0@0
> marker: 0@0 corner: 0@0
> savedArea: nil
> menuBar: 0@0 corner: 0@0
> savedMenuBarArea: nil
> paragraph: a MultiNewParagraph
> startBlock: a CharacterBlock with index 32142
> and character Character
> cr and re...etc...
> stopBlock: a CharacterBlock with index 32142
> and character Character cr
> and rec...etc...
> beginTypeInBlock: nil
> emphasisHere: an Array(a TextFontChange font: 2)
> initialText: a Text for '''From Squeak3.9 of 7
> November 2006 [latest
> update: #7...etc...
> selectionShowing: false
> otherInterval: (32116 to: 32115)
> lastParentLocation: nil
> morph: a TextMorphForEditView(993)
> oldInterval: (32142 to: 32141)
> pivotBlock: a CharacterBlock with index 32116
> and character Character
> tab and r...etc...
> editHistory: nil
>
> TextMorphEditor(Object)>>perform:withArguments:
> Receiver: a TextMorphEditor
> Arguments and temporary variables:
> selector: #noUndoer
> argArray: #(0)
> Receiver's instance variables:
> model: a FileList2
> view: nil
> sensor: a KeyboardBuffer
> lastActivityTime: nil
> redButtonMenu: nil
> redButtonMessages: nil
> scrollBar: 0@0 corner: 0@0
> marker: 0@0 corner: 0@0
> savedArea: nil
> menuBar: 0@0 corner: 0@0
> savedMenuBarArea: nil
> paragraph: a MultiNewParagraph
> startBlock: a CharacterBlock with index 32142
> and character Character
> cr and re...etc...
> stopBlock: a CharacterBlock with index 32142
> and character Character cr
> and rec...etc...
> beginTypeInBlock: nil
> emphasisHere: an Array(a TextFontChange font: 2)
> initialText: a Text for '''From Squeak3.9 of 7
> November 2006 [latest
> update: #7...etc...
> selectionShowing: false
> otherInterval: (32116 to: 32115)
> lastParentLocation: nil
> morph: a TextMorphForEditView(993)
> oldInterval: (32142 to: 32141)
> pivotBlock: a CharacterBlock with index 32116
> and character Character
> tab and r...etc...
> editHistory: nil
>
> Message>>sentTo:
> Receiver: noUndoer 0
> Arguments and temporary variables:
> receiver: a TextMorphEditor
> Receiver's instance variables:
> selector: #noUndoer
> args: #(0)
> lookupClass: nil
>
>
> --- The full stack ---
> TextMorphEditor(Object)>>error:
> TextMorphEditor(Object)>>perform:withArguments:inSuperclass:
> TextMorphEditor(Object)>>perform:withArguments:
> Message>>sentTo:
>   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> TextMorphEditor(ParagraphEditor)>>undo
> TextMorphEditor>>undo
> TextMorphEditor(ParagraphEditor)>>undo:
> TextMorphEditor(ParagraphEditor)>>dispatchOnCharacter:with:
> TextMorphEditor>>dispatchOnCharacter:with:
> ...etc...
>
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/ui

_______________________________________________
UI mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/ui