[Pharo-project] Behavior>>formatterClass makes no sense for togglePrettyPrint
Behavior>>formatterClass ^Preferences useRBASTForPrettyPrint ifFalse: [ self compilerClass ] ifTrue: [ RBParser ] This makes no sense for view > prettyPrint which expects the class to implement #format:in:notifying:contentsSymbol: (only implemented by RBParser). - on
Thanks oscar can you open a ticket? Stef On Jul 2, 2009, at 9:07 PM, Oscar Nierstrasz wrote:
Behavior>>formatterClass ^Preferences useRBASTForPrettyPrint ifFalse: [ self compilerClass ] ifTrue: [ RBParser ]
This makes no sense for view > prettyPrint which expects the class to implement #format:in:notifying:contentsSymbol: (only implemented by RBParser).
- on
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Thu, Jul 2, 2009 at 9:07 PM, Oscar Nierstrasz<oscar@iam.unibe.ch> wrote:
Behavior>>formatterClass     ^Preferences useRBASTForPrettyPrint         ifFalse: [ self compilerClass ]         ifTrue: [ RBParser ]
This makes no sense for view > prettyPrint which expects the class to implement #format:in:notifying:contentsSymbol: (only implemented by RBParser).
Thanks for the report: http://code.google.com/p/pharo/issues/detail?id=919. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
participants (3)
-
Damien Cassou -
Oscar Nierstrasz -
Stéphane Ducasse