I think the method selectedClassOrMetaClass is not in the changes you pushed :)

selectedClassOrMetaClass
        ^ self model selectedClass

best
cami

On 2012-02-20, at 23:03, Benjamin wrote:

> 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 
>> <[email protected]> wrote:
>> 
>> 
>> On Mon, Feb 20, 2012 at 9:25 PM, Benjamin 
>> <[email protected]> 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
>> 
> 


Reply via email to