16216 Default values in NECPreferences are not initilized right

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

16216 Default values in NECPreferences are not initilized right

Nicolai Hess
This is not good. Somehow this disables NEC.
And resets many other NEC settings, for example
if you just enables code complation again, you still don't have
the smart characters (-> inserting matchin "or ) or } ...)

Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

stepharo
Thanks. Can you open a new issue?
Merwane you will have to revisit your code.

Stef

Le 15/8/15 22:53, Nicolai Hess a écrit :
> This is not good. Somehow this disables NEC.
> And resets many other NEC settings, for example
> if you just enables code complation again, you still don't have
> the smart characters (-> inserting matchin "or ) or } ...)
>


Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

MerwanOuddane
This is really weird, in the initialization the NEC was disabled by
default, I did not changed that ....

And even if the default value for the pop-up to appear was 200, in a
fresh image it was at 500, coming from hell U.u

Merwan

On 16/08/2015 10:55, stepharo wrote:

> Thanks. Can you open a new issue?
> Merwan you will have to revisit your code.
>
> Stef
>
> Le 15/8/15 22:53, Nicolai Hess a écrit :
>> This is not good. Somehow this disables NEC.
>> And resets many other NEC settings, for example
>> if you just enables code complation again, you still don't have
>> the smart characters (-> inserting matchin "or ) or } ...)
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

MerwanOuddane
Was the NECPreferences>>defaultPopupDelay in the post script ?

On 16/08/2015 14:25, Merwan Ouddane wrote:

> This is really weird, in the initialization the NEC was disabled by
> default, I did not changed that ....
>
> And even if the default value for the pop-up to appear was 200, in a
> fresh image it was at 500, coming from hell U.u
>
> Merwan
>
> On 16/08/2015 10:55, stepharo wrote:
>> Thanks. Can you open a new issue?
>> Merwan you will have to revisit your code.
>>
>> Stef
>>
>> Le 15/8/15 22:53, Nicolai Hess a écrit :
>>> This is not good. Somehow this disables NEC.
>>> And resets many other NEC settings, for example
>>> if you just enables code complation again, you still don't have
>>> the smart characters (-> inserting matchin "or ) or } ...)
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

Nicolai Hess


2015-08-16 15:38 GMT+02:00 Merwan Ouddane <[hidden email]>:
Was the NECPreferences>>defaultPopupDelay in the post script ?



No, but your class initialization uses the default popup delay, it should work if we now just call the postcript.
(better solution would be to add the enable/smart char/..../ settings in the class init.

 
On 16/08/2015 14:25, Merwan Ouddane wrote:
This is really weird, in the initialization the NEC was disabled by default, I did not changed that ....

And even if the default value for the pop-up to appear was 200, in a fresh image it was at 500, coming from hell U.u

Merwan

On 16/08/2015 10:55, stepharo wrote:
Thanks. Can you open a new issue?
Merwan you will have to revisit your code.

Stef

Le 15/8/15 22:53, Nicolai Hess a écrit :
This is not good. Somehow this disables NEC.
And resets many other NEC settings, for example
if you just enables code complation again, you still don't have
the smart characters (-> inserting matchin "or ) or } ...)







Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

stepharo


Le 16/8/15 16:26, Nicolai Hess a écrit :


2015-08-16 15:38 GMT+02:00 Merwan Ouddane <[hidden email]>:
Was the NECPreferences>>defaultPopupDelay in the post script ?



No, but your class initialization uses the default popup delay, it should work if we now just call the postcript.
(better solution would be to add the enable/smart char/..../ settings in the class init.

this is what I thought we discussed.


 
On 16/08/2015 14:25, Merwan Ouddane wrote:
This is really weird, in the initialization the NEC was disabled by default, I did not changed that ....

And even if the default value for the pop-up to appear was 200, in a fresh image it was at 500, coming from hell U.u

Merwan

On 16/08/2015 10:55, stepharo wrote:
Thanks. Can you open a new issue?
Merwan you will have to revisit your code.

Stef

Le 15/8/15 22:53, Nicolai Hess a écrit :
This is not good. Somehow this disables NEC.
And resets many other NEC settings, for example
if you just enables code complation again, you still don't have
the smart characters (-> inserting matchin "or ) or } ...)








Reply | Threaded
Open this post in threaded view
|

Re: 16216 Default values in NECPreferences are not initilized right

MerwanOuddane
In reply to this post by Nicolai Hess


On 16/08/2015 16:26, Nicolai Hess wrote:


2015-08-16 15:38 GMT+02:00 Merwan Ouddane <[hidden email]>:
Was the NECPreferences>>defaultPopupDelay in the post script ?



No, but your class initialization uses the default popup delay, it should work if we now just call the postcript.
(better solution would be to add the enable/smart char/..../ settings in the class init.

They were already in the class initialization before my modification. Set to false.

I made a bug entry to change it like it was before.

https://pharo.fogbugz.com/f/cases/16237/Values-in-the-class-init-of-NECPreferences-are-not-what-we-expect


 
On 16/08/2015 14:25, Merwan Ouddane wrote:
This is really weird, in the initialization the NEC was disabled by default, I did not changed that ....

And even if the default value for the pop-up to appear was 200, in a fresh image it was at 500, coming from hell U.u

Merwan

On 16/08/2015 10:55, stepharo wrote:
Thanks. Can you open a new issue?
Merwan you will have to revisit your code.

Stef

Le 15/8/15 22:53, Nicolai Hess a écrit :
This is not good. Somehow this disables NEC.
And resets many other NEC settings, for example
if you just enables code complation again, you still don't have
the smart characters (-> inserting matchin "or ) or } ...)