Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007594 [Squeak Packages] eCompletion major always 01-02-11 19:07 01-03-11 10:39
Reporter aidalgol View Status public  
Assigned To bar
Priority normal Resolution won't fix  
Status resolved  
Summary 0007594: Loading eCompletion into Squeak image 4.1 breaks text-editing panes
Description Installing eCompletion version 0.102 with the Package Universe Browser breaks all text-editing panes (Workspaces, Code Browser text-editing pane, etc). Any keystroke in a text-editing pane raises MessageNotUnderstood: SmalltalkEditor>>model. This is in image Squeak4.1 latest update: #9957 running on VM 4.0.3-2202.
Additional Information Contents of SqueakDebug.log start after the line of dashes.
----------------------------------------
MessageNotUnderstood: SmalltalkEditor>>model
3 January 2011 8:04:21.144 am

VM: unix - Smalltalk
Image: Squeak4.1 [latest update: #9957]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /home/aidan/src-aidan/squeak
Trusted Dir /home/aidan/src-aidan/squeak/secure
Untrusted Dir /home/aidan/src-aidan/squeak/My Squeak

SmalltalkEditor(Object)>>doesNotUnderstand: #model
    Receiver: a SmalltalkEditor
    Arguments and temporary variables:
        aMessage: model
        exception: MessageNotUnderstood: SmalltalkEditor>>model
        resumeValue: nil
    Receiver's instance variables:
        sensor: an EventSensor
        morph: a TextMorphForEditView(2469)
        selectionShowing: false
        model: a Workspace
        paragraph: a MultiNewParagraph
        pointBlock: a CharacterBlock with index 17 and rectangle 82@0 corner: 82@16
 in...etc...
        markBlock: a CharacterBlock with index 17 and rectangle 82@0 corner: 82@16
 in ...etc...
        beginTypeInBlock: nil
        emphasisHere: {a TextColor code: Color black}
        otherInterval: (1 to: 0)
        lastParenLocation: nil
        oldInterval: nil
        styler: nil

TextMorphForEditView(TextMorph)>>keyStroke:
    Receiver: a TextMorphForEditView(2469)
    Arguments and temporary variables:
        evt: [keystroke ' ']
        action: nil
        completionAllowed: nil
        stringHolder: nil
    Receiver's instance variables:
        bounds: 0@0 corner: 420@18
        owner: a TransformMorph(3949)
        submorphs: #()
        fullBounds: 0@0 corner: 420@18
        color: Color black
        extension: a MorphExtension (2151) [other: (blinkStart -> 964241)]
        borderWidth: 0
        borderColor: Color black
        textStyle: a TextStyle Bitmap DejaVu Sans 9
        text: a Text for '''Hello, world!''.'
        wrapFlag: true
        paragraph: a MultiNewParagraph
        editor: a SmalltalkEditor
        container: nil
        predecessor: nil
        successor: nil
        backgroundColor: nil
        margins: nil
        editHistory: nil
        editView: a PluggableTextMorphPlus(3565)
        acceptOnCR: false

TextMorphForEditView>>keyStroke:
    Receiver: a TextMorphForEditView(2469)
    Arguments and temporary variables:
        evt: [keystroke ' ']
        view: a PluggableTextMorphPlus(3565)
    Receiver's instance variables:
        bounds: 0@0 corner: 420@18
        owner: a TransformMorph(3949)
        submorphs: #()
        fullBounds: 0@0 corner: 420@18
        color: Color black
        extension: a MorphExtension (2151) [other: (blinkStart -> 964241)]
        borderWidth: 0
        borderColor: Color black
        textStyle: a TextStyle Bitmap DejaVu Sans 9
        text: a Text for '''Hello, world!''.'
        wrapFlag: true
        paragraph: a MultiNewParagraph
        editor: a SmalltalkEditor
        container: nil
        predecessor: nil
        successor: nil
        backgroundColor: nil
        margins: nil
        editHistory: nil
        editView: a PluggableTextMorphPlus(3565)
        acceptOnCR: false

TextMorphForEditView(TextMorph)>>handleKeystroke:
    Receiver: a TextMorphForEditView(2469)
    Arguments and temporary variables:
        anEvent: [keystroke ' ']
        pasteUp: nil
    Receiver's instance variables:
        bounds: 0@0 corner: 420@18
        owner: a TransformMorph(3949)
        submorphs: #()
        fullBounds: 0@0 corner: 420@18
        color: Color black
        extension: a MorphExtension (2151) [other: (blinkStart -> 964241)]
        borderWidth: 0
        borderColor: Color black
        textStyle: a TextStyle Bitmap DejaVu Sans 9
        text: a Text for '''Hello, world!''.'
        wrapFlag: true
        paragraph: a MultiNewParagraph
        editor: a SmalltalkEditor
        container: nil
        predecessor: nil
        successor: nil
        backgroundColor: nil
        margins: nil
        editHistory: nil
        editView: a PluggableTextMorphPlus(3565)
        acceptOnCR: false


--- The full stack ---
SmalltalkEditor(Object)>>doesNotUnderstand: #model
TextMorphForEditView(TextMorph)>>keyStroke:
TextMorphForEditView>>keyStroke:
TextMorphForEditView(TextMorph)>>handleKeystroke:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyboardEvent>>sentTo:
TextMorphForEditView(Morph)>>handleEvent:
TextMorphForEditView(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:
...etc...
Attached Files

- Relationships

- Notes
(0014009 - 765 - 1018 - 1018 - 1018 - 1018 - 1018)
leves
01-03-11 10:39

Universes are obsolete in Squeak 4.1. The recent versions of eCompletion don't support Squeak anymore. However OCompletion includes (a fork of) eCompletion and it works in Squeak 4.1. Evaluate the following script in your Squeak 4.1 image to load it (along with RoelTyper):

Installer squeaksource
      project: 'RoelTyper';
      install: 'RoelTyper-FredericPluquet.82';
      project: 'OCompletion';
      install: 'Ocompletion-ul.73';
      install: 'OcompletionSqueakCompatibility-ul.1'.

This enables OCompletion in your image. If you would like to use eCompletion, then evaluate the following:

Smalltalk at: #Optimist put: false.

Since I don't think eCompletion will work in Squeak (other than the version in OCompletion), I change the status to "won't fix".
 

- Issue History
Date Modified Username Field Change
01-02-11 19:07 aidalgol New Issue
01-02-11 19:07 aidalgol Status new => assigned
01-02-11 19:07 aidalgol Assigned To  => bar
01-03-11 10:39 leves Status assigned => resolved
01-03-11 10:39 leves Resolution open => won't fix
01-03-11 10:39 leves Note Added: 0014009


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
38 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker