Hi Igor,<br><br>yes! ;-) <br>As far as I remember it was possible in VisualWorks, too. <br>But I did not find it in Pharo.<br><br>Sabine<br><br><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 8:41 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com" target="_blank">siguctua@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ah, ok.. you want something simpler than search&amp;replace ..<br>
<br>
i remember in Squeak there was something, that you could select a<br>
piece of text, then type something,<br>
and then press cmd-g (if i remember) to search for same occurrence and<br>
replace it again.<br>
but i am not sure if it works in pharo.<br>
<div class="HOEnZb"><div class="h5"><br>
On 28 September 2012 20:23, Sabine Knöfel &lt;<a href="mailto:sabine.knoefel@gmail.com">sabine.knoefel@gmail.com</a>&gt; wrote:<br>
&gt; Thank you Hernán,<br>
&gt;<br>
&gt; the refactoring browser is a very powerful tool.<br>
&gt;<br>
&gt; But I need something quite easy. See the example screenshot. I just started<br>
&gt; to rename the parameter &quot;aHtmlRoot&quot; to &quot;html&quot;.<br>
&gt;<br>
&gt; Now I have to doubleclick each single &quot;aHtmlRoot&quot; and paste &quot;html&quot;. This is<br>
&gt; boring. It would like that all the highlighted words change in the same<br>
&gt; moment, I change the first one. This could be switched on in the system<br>
&gt; settings.<br>
&gt;<br>
&gt; This situation occurs at least daily to me. Am I the only one?<br>
&gt;<br>
&gt; Greetings Sabine<br>
&gt;<br>
&gt; PS: yes I know about cascading, this is not the point here;-)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Sep 28, 2012 at 7:42 PM, Hernán Morales Durand<br>
&gt; &lt;<a href="mailto:hernan.morales@gmail.com">hernan.morales@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; You may use the Refactoring Browser from OmniBrowser to do that.<br>
&gt;&gt;<br>
&gt;&gt; 1) Open a scoped browser, i.e. select a method, contextual menu -&gt;<br>
&gt;&gt; Refactoring scope -&gt; Selection (you may filter by multiple methods,<br>
&gt;&gt; categories, classes or packages depending your current selection in OB)<br>
&gt;&gt; 2) In the new browser window, select method, contextual menu -&gt; Refactor<br>
&gt;&gt; -&gt; Source Regex...<br>
&gt;&gt;<br>
&gt;&gt; For example given the method:<br>
&gt;&gt;<br>
&gt;&gt; test1<br>
&gt;&gt;         | var1 var2 var3 var4 |<br>
&gt;&gt;<br>
&gt;&gt;         var3 := #symbol1.<br>
&gt;&gt;         var4 := &#39;cadena1&#39;.<br>
&gt;&gt;         var1 := &#39;my first testString&#39;.<br>
&gt;&gt;         var2 := &#39;my second testString&#39;.<br>
&gt;&gt;         ^ var1 foobar , var2 foobar<br>
&gt;&gt;<br>
&gt;&gt; a regex refactoring replacing #symbol1 with &#39;symbol1&#39; and &#39;testString&#39;<br>
&gt;&gt; with &#39;myString&#39; could be:<br>
&gt;&gt;<br>
&gt;&gt; ORSourceRegexRefactoring new<br>
&gt;&gt;         &quot;Example 1: Replace symbols with strings&quot;<br>
&gt;&gt;         replace: &#39;#(\w+)&#39; with: &#39;&#39;&#39;$1&#39;&#39;&#39; ignoreCase: false;<br>
&gt;&gt;         &quot;Example 2: Replace occurrences of a string with another string&quot;<br>
&gt;&gt;         replace: &#39;#*testString&#39; with: &#39;myString&#39;;<br>
&gt;&gt;         yourself<br>
&gt;&gt;<br>
&gt;&gt; 3) Open menu on the refactoring source code, click Accept (DO NOT use the<br>
&gt;&gt; keyboard commands)<br>
&gt;&gt; 4) A new browser window will let you accept, filter, or cancel the<br>
&gt;&gt; refactorings.<br>
&gt;&gt;<br>
&gt;&gt; If you want to modify message patterns/nodes, use the Refactor -&gt; Rewrite<br>
&gt;&gt; code... templates. Take a look at:<br>
&gt;&gt; <a href="http://st-www.cs.illinois.edu/users/brant/Refactory/Rewrite.html" target="_blank">http://st-www.cs.illinois.edu/users/brant/Refactory/Rewrite.html</a> to learn<br>
&gt;&gt; about the rewrite rules.<br>
&gt;&gt; Hope it helps.<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; Hernán<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 28/09/2012 4:51, Sabine Knöfel wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; double clicking on one word in the system browser selects this word in<br>
&gt;&gt;&gt; one<br>
&gt;&gt;&gt; color and all other appearances of this wort in another color. This is<br>
&gt;&gt;&gt; nice.<br>
&gt;&gt;&gt; Is there a possibility to change ALL the occurences of this word in one<br>
&gt;&gt;&gt; action? I did noch find this feature yet.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I do not mean the search and replace dialog - to many clicks while<br>
&gt;&gt;&gt; developing.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Greetings Sabine<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; View this message in context:<br>
&gt;&gt;&gt; <a href="http://forum.world.st/change-n-same-words-in-browser-with-one-action-tp4649372.html" target="_blank">http://forum.world.st/change-n-same-words-in-browser-with-one-action-tp4649372.html</a><br>
&gt;&gt;&gt; Sent from the Seaside General mailing list archive at Nabble.com.<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; seaside mailing list<br>
&gt;&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
Best regards,<br>
Igor Stasenko.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>