I have implemented the good method and uploaded the package OCompletionForPharo.
I was about to send a message to Guillermo since it seems he is one of the maintainers :)


Ben


On Feb 20, 2012, at 10:53 PM, Mariano Martinez Peck wrote:

Well...now somehow the completion dialog appears but it throws NautilusUI(Object)>>doesNotUnderstand: #selectedClassOrMetaClass  

in:

openXMenuFor: anEditor
    | theMenu |
    self closeMenu.
    context := menuMorph
        ifNotNil: [menuMorph context]
        ifNil: [self contextClass
                controller: self
                class: self model selectedClassOrMetaClass
                source: anEditor text string
                position: anEditor startIndex - 1].
   
    self editor: anEditor.
    self expand.
    theMenu := self menuMorph controller: self
                position: (anEditor selectionPosition: context completionToken).
    theMenu isClosed ifFalse: [menuMorph := theMenu].
    menuMorph moveDown; moveDown.
   

On Mon, Feb 20, 2012 at 9:47 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:


On Mon, Feb 20, 2012 at 9:25 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
Can you tell me how to load OCompletion please ?


fetch conf from MetacelloRepository and then:

(ConfigurationOfOCompletion project version: #stable) load
 

Ben

On Feb 20, 2012, at 9:09 PM, Mariano Martinez Peck wrote:

I just took the Nautilus from jenkins, installed OCompletion there and OCompletion seems to work fine everywhere in the image but not in Nautilus. In the code pane...it doesn't appear anything. So...is there a way to make OCompletion to work with Nautilus?

Thanks!

--
Mariano
http://marianopeck.wordpress.com





--
Mariano
http://marianopeck.wordpress.com




--
Mariano
http://marianopeck.wordpress.com