Ok I will integrate it. Alain dont worry too much we do not do omelette without breaking eggs. and deprecate is the right pattern here. Stef On Jun 8, 2009, at 9:53 PM, Alain Plantec wrote:
Oscar Nierstrasz a écrit :
I don't know what you mean by the "what to show" button it is the title of the dialog which is opened when you hit the right most button of the browser button bar. , but if I select "view...>PrettyPrint", I get a "MessageNotUnderstood: Compiler class>>format:in:notifying:contentsSymbol:" error which seems to come from OBCmdMultiView>>togglePrettyPrint.
Bleh. :-(
Can anyone else verify this? I verified and yes, it is broken and this is my fault because I removed Compiler>>format:in:notifying:contentsSymbol: which is called by OBCmdMultiView>>togglePrettyPrint. I've attached a changed set which is fixing it (it reintroduces it as a deprecated method). sorry :( Hope it is ok now.
Cheers Alain
'From Pharo0.1 of 16 May 2008 [Latest update: #10330] on 8 June 2009 at 9:51:07 pm'!
!Compiler methodsFor: 'public access' stamp: 'alain.plantec 6/8/2009 21:50'! format: textOrStream in: aClass notifying: aRequestor contentsSymbol: aSymbol "Compile a parse tree from the argument, textOrStream. Answer a string containing the original code, formatted nicely."
self deprecated: #colorWhenPrettyPrintingAsBeenRemoved. ^ self format: textOrStream in: aClass notifying: aRequestor ! !
!Compiler class methodsFor: 'evaluating' stamp: 'alain.plantec 6/8/2009 21:50'! format: textOrStream in: aClass notifying: aRequestor contentsSymbol: aSymbol ^ self new format: textOrStream in: aClass notifying: aRequestor contentsSymbol: aSymbol ! !
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project