Oscar Nierstrasz a écrit :
OK, I updated pharo0.1-10324dev09.06.1 to 10331. (Or should I update pharo-core?)
no, it should be ok if you update from pharo0.1-10324dev09.06.1
Pretty-print is still missing when I right-click on the method source pane.
see my comments below
View...>Pretty Print now generates the following error:
"Compiler>>format:in:notifying:contentsSymbol: has been deprecated. colorWhenPrettyPrintingAsBeenRemoved Select Proceed to continue, or close this window to cancel the operation."
ok, you see this warning because of the deprecation. you can check off the #showDeprecationWarning preference in order to avoid that.
If I select Proceed, it does pretty-print, but I cannot save the pretty-printed version!
I have investigated it a little bit: With pharo0.1-10292dev09.04.6, we had the pretty print entry in the code pane menu and it was functional. With this menu you was able to pretty print and to save your code (so it was ok for you). But, even with 9.04.6 version, you was not able to save your pretty printed code when you choose 'pretty print' from the 'view' button of the top pane. With pharo0.1-10318dev09.05.4, I can't check the code pane menu because when I try to open it, it falls into an 'Invalid utf8 input detected' error. The impossibility to save pretty printed code formated with the help of the view button is still present. With pharo0.1-10292dev09.04.6, the pretty print entry of the code pane menu is not present. So I guess the lost of the code pane menu pretty print entry results from some OB refactoring from 09.05.4 to 09.04.6. and yes, as it was for 9.04.6 and for 09.05.4 versions, you can't save you pretty printed code when you format it by the using of the view button. So, except for the deprecation warning, It seems that the refactoring I made is not responsible for that problem. I've take a look at the 9.04.6 OB code but I'm completely lost and do not have enough time for this. David, do you have an idea of what happen ? Oscar, for the moment, maybe you can use 9.04.6 pharo version.
Pasting code from an external editor is still broken.
this annoying problem will certainly be fixed when someone will have enough time to work on it. It is already reported as an issue: http://code.google.com/p/pharo/issues/detail?id=823 Cheers Alain