I was having a look at some of the ecompletion code - and noticed that I couldn't do an extract to temporary refactoring because the refactor source method is grayed out?

This looks like a bug - and I'm happy to report it - but just wanted to check with people here.

The code fragment in question is:

(opposite = aCharacter and: [ (editor text at: editor startIndex ifAbsent: [ nil ]) = aCharacter ]) ifTrue: [
                editor selectFrom: editor startIndex + 1 to: editor startIndex.
                self invalidateEditorMorph.
                ^ true ].

If I hilite the expresion (editor.... nil]) inside the and: block its grayed out? I should be able to extract a temp for that code shouldn't I?

If I hilite from (opposite.....aCharacter]) then I can access the extract.

So I think this is a bug?

Tim

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to