OCompletion?

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

OCompletion?

abergel
Hi!

Am I the only one to bump all the time into error raised by OCompletion?

in OController>>handleKeystrokeBefore: kbEvent editor: theEditor
I just switched:
        self isMenuOpen ifFalse: [ self openMenuFor: theEditor ].

into:
        self isMenuOpen ifFalse: [ [self openMenuFor: theEditor] on: Error do: [] ].


Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: OCompletion?

Tudor Girba
Hi,

In which Pharo? 1.3? I do not seem to bump into it. In what context do you get it?

Cheers,
Doru


On 18 May 2011, at 16:19, Alexandre Bergel wrote:

> Hi!
>
> Am I the only one to bump all the time into error raised by OCompletion?
>
> in OController>>handleKeystrokeBefore: kbEvent editor: theEditor
> I just switched:
> self isMenuOpen ifFalse: [ self openMenuFor: theEditor ].
>
> into:
> self isMenuOpen ifFalse: [ [self openMenuFor: theEditor] on: Error do: [] ].
>
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>

--
www.tudorgirba.com

"Next time you see your life passing by, say 'hi' and get to know her."




Reply | Threaded
Open this post in threaded view
|

Re: OCompletion?

abergel
> In which Pharo? 1.3? I do not seem to bump into it. In what context do you get it?

When I try to edit code within a debugger. It does not systematically appear. Just once in a while.

Alexandre


>
>
> On 18 May 2011, at 16:19, Alexandre Bergel wrote:
>
>> Hi!
>>
>> Am I the only one to bump all the time into error raised by OCompletion?
>>
>> in OController>>handleKeystrokeBefore: kbEvent editor: theEditor
>> I just switched:
>> self isMenuOpen ifFalse: [ self openMenuFor: theEditor ].
>>
>> into:
>> self isMenuOpen ifFalse: [ [self openMenuFor: theEditor] on: Error do: [] ].
>>
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
> --
> www.tudorgirba.com
>
> "Next time you see your life passing by, say 'hi' and get to know her."
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: OCompletion?

Stéphane Ducasse
which version?
I do not like the idea to trap any Error.
I prefer that we bump into the real error and fix it.


>> In which Pharo? 1.3? I do not seem to bump into it. In what context do you get it?
>
> When I try to edit code within a debugger. It does not systematically appear. Just once in a while.
>
> Alexandre
>
>
>>
>>
>> On 18 May 2011, at 16:19, Alexandre Bergel wrote:
>>
>>> Hi!
>>>
>>> Am I the only one to bump all the time into error raised by OCompletion?
>>>
>>> in OController>>handleKeystrokeBefore: kbEvent editor: theEditor
>>> I just switched:
>>> self isMenuOpen ifFalse: [ self openMenuFor: theEditor ].
>>>
>>> into:
>>> self isMenuOpen ifFalse: [ [self openMenuFor: theEditor] on: Error do: [] ].
>>>
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Next time you see your life passing by, say 'hi' and get to know her."
>>
>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: OCompletion?

abergel
> which version?
> I do not like the idea to trap any Error.
> I prefer that we bump into the real error and fix it.

I use a 13180. Me too I would like to fix it.

Cheers,
Alexandre

>
>
>>> In which Pharo? 1.3? I do not seem to bump into it. In what context do you get it?
>>
>> When I try to edit code within a debugger. It does not systematically appear. Just once in a while.
>>
>> Alexandre
>>
>>
>>>
>>>
>>> On 18 May 2011, at 16:19, Alexandre Bergel wrote:
>>>
>>>> Hi!
>>>>
>>>> Am I the only one to bump all the time into error raised by OCompletion?
>>>>
>>>> in OController>>handleKeystrokeBefore: kbEvent editor: theEditor
>>>> I just switched:
>>>> self isMenuOpen ifFalse: [ self openMenuFor: theEditor ].
>>>>
>>>> into:
>>>> self isMenuOpen ifFalse: [ [self openMenuFor: theEditor] on: Error do: [] ].
>>>>
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Next time you see your life passing by, say 'hi' and get to know her."
>>>
>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.