pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 355 forks source link

Code completion failure in in-place editing #5476

Closed jecisc closed 4 years ago

jecisc commented 4 years ago

In the inspector I wanted to in-place editing using SHIFT+click on a variable value and enter nil, but I got a competion failure:

UndefinedObject(Object)>>doesNotUnderstand: #selectedClassOrMetaClass
UndefinedObject>>doesNotUnderstand: #selectedClassOrMetaClass
CompletionEngine>>openMenu
[ editor atCompletionPosition ifTrue: [ self openMenu ] ] in [ (Delay forMilliseconds: NECPreferences popupAutomaticDelay) wait.
UIManager default defer: [ editor atCompletionPosition ifTrue: [ self openMenu ] ] ] in CompletionEngine>>resetCompletionDelay in Block: [ editor atCompletionPosition ifTrue: [ self openM...etc...
WorldState>>runStepMethodsIn:
WorldMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldMorph>>doOneCycle
WorldMorph class>>doOneCycle
[ [ WorldMorph doOneCycle.
Processor yield.
false ] whileFalse: [  ] ] in MorphicUIManager>>spawnNewProcess in Block: [ [ WorldMorph doOneCycle....
[ self value.
Processor terminateActive ] in BlockClosure>>newProcess in Block: [ self value....
MarcusDenker commented 4 years ago

Fix for Pharo9: https://github.com/pharo-project/pharo/pull/5482

(to be back ported)

guillep commented 4 years ago

So this is fixed