Issue 7136 in pharo: Refactor method add parameter menu item gives Warning dialog for deprecated method

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 7136 in pharo: Refactor method add parameter menu item gives Warning dialog for deprecated method

pharo
Status: Accepted
Owner: ----
Labels: Milestone-1.4 Type-Bug Difficulty-Easy

New issue 7136 by [hidden email]: Refactor method add parameter menu  
item gives Warning dialog for deprecated method
http://code.google.com/p/pharo/issues/detail?id=7136

Trying to use the Refactor method menu item with the add parameter option  
gives a warning dialog (I thought it was actually a walkback and that it  
was broken).

Msg is: The method  
MorphicUIManager>>multiLineRequest:centerAt:initialAnswer:answerHeight: has  
been deprecated.
Use multiLineRequest: queryString initialAnswer: defaultAnswer answerHeight:

Select Proceed to continue, or close this window to cancel the operation.

There is an easy fix:

OBMorphicPlatform>>handleMultiLineTextRequest: request

should be changed to:


        ^ UIManager default
                        multiLineRequest: request prompt
                        initialAnswer: request template
                        answerHeight: 200



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