> Lukas, that doesn't seem right, as I had to do it manually and it seems to > work fine in my code (maybe it wasn't clear what was trying to extract)?
Sorry, I misread your mail. I thought you talked about 'extract to method', not 'extract to temporary'. > nextEditorCharacter := (editor text at: editor startIndex ifAbsent: [nil ]). > (opposite = aCharacter and: [ nextEditorCharacer = aCharacter ]) ifTrue: > [.... > > I should have been able to select the expression 'editor text at: editor > startIndex ifAbsent: [nil ])' and use the extract temporary menu item to get > the above. > > In fact, it looks like if you select it from right to left then sometimes it > un-disables that source menu item (but not always)? Or if I select it left > to right as well as the space at the end of the expression? I don't see that difference with the space, but it is true that you need to select a valid expression to get the menu items enabled. In that regard, the conditions could probably be relaxed a bit. Lukas -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
