<div>Hello.<br></div><div><br></div><div>Something like Syncron-Edit in Lazarus? See:</div><div><a href="http://wiki.freepascal.org/New_IDE_features_since#Syncron-Edit">http://wiki.freepascal.org/New_IDE_features_since#Syncron-Edit</a></div>
<div><br></div><div>I know, that is Pascal, your eyes hurts :P</div><div><br></div><div>Regards.</div><br><br><div class="gmail_quote">2012/9/28 Hernán Morales Durand <span dir="ltr">&lt;<a href="mailto:hernan.morales@gmail.com" target="_blank">hernan.morales@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Something like this?<br>
<br>
<a href="http://wiki.squeak.org/squeak/900" target="_blank">http://wiki.squeak.org/squeak/900</a><br>
<br>
I don&#39;t know if it&#39;s still possibe in Pharo.<br>
<br>
Notice you have to manually select, type and replace each method. The RB rewriter can do that automatically for you.<br>
Cheers,<br>
<br>
Hernán<div class="im"><br>
<br>
On 28/09/2012 15:23, Sabine Knöfel wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Thank you Hernán,<br>
<br>
the refactoring browser is a very powerful tool.<br>
<br>
But I need something quite easy. See the example screenshot. I just<br>
started to rename the parameter &quot;aHtmlRoot&quot; to &quot;html&quot;.<br>
<br>
Now I have to doubleclick each single &quot;aHtmlRoot&quot; and paste &quot;html&quot;. This<br>
is boring. It would like that all the highlighted words change in the<br>
same moment, I change the first one. This could be switched on in the<br>
system settings.<br>
<br>
This situation occurs at least daily to me. Am I the only one?<br>
<br>
Greetings Sabine<br>
<br>
PS: yes I know about cascading, this is not the point here;-)<br>
<br>
<br>
<br>
On Fri, Sep 28, 2012 at 7:42 PM, Hernán Morales Durand<br></div><div><div class="h5">
&lt;<a href="mailto:hernan.morales@gmail.com" target="_blank">hernan.morales@gmail.com</a> &lt;mailto:<a href="mailto:hernan.morales@gmail.com" target="_blank">hernan.morales@gmail.com</a>&gt;&gt; wrote:<br>
<br>
    You may use the Refactoring Browser from OmniBrowser to do that.<br>
<br>
    1) Open a scoped browser, i.e. select a method, contextual menu -&gt;<br>
    Refactoring scope -&gt; Selection (you may filter by multiple methods,<br>
    categories, classes or packages depending your current selection in OB)<br>
    2) In the new browser window, select method, contextual menu -&gt;<br>
    Refactor -&gt; Source Regex...<br>
<br>
    For example given the method:<br>
<br>
    test1<br>
             | var1 var2 var3 var4 |<br>
<br>
             var3 := #symbol1.<br>
             var4 := &#39;cadena1&#39;.<br>
             var1 := &#39;my first testString&#39;.<br>
             var2 := &#39;my second testString&#39;.<br>
             ^ var1 foobar , var2 foobar<br>
<br>
    a regex refactoring replacing #symbol1 with &#39;symbol1&#39; and<br>
    &#39;testString&#39; with &#39;myString&#39; could be:<br>
<br>
    ORSourceRegexRefactoring new<br>
             &quot;Example 1: Replace symbols with strings&quot;<br>
             replace: &#39;#(\w+)&#39; with: &#39;&#39;&#39;$1&#39;&#39;&#39; ignoreCase: false;<br>
             &quot;Example 2: Replace occurrences of a string with another<br>
    string&quot;<br>
             replace: &#39;#*testString&#39; with: &#39;myString&#39;;<br>
             yourself<br>
<br>
    3) Open menu on the refactoring source code, click Accept (DO NOT<br>
    use the keyboard commands)<br>
    4) A new browser window will let you accept, filter, or cancel the<br>
    refactorings.<br>
<br>
    If you want to modify message patterns/nodes, use the Refactor -&gt;<br>
    Rewrite code... templates. Take a look at:<br></div></div>
    <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><div class="im"><br>
    &lt;<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>&gt;<br>
    to learn about the rewrite rules.<br>
    Hope it helps.<br>
    Cheers,<br>
<br>
    Hernán<br>
<br>
<br>
<br>
    On 28/09/2012 4:51, Sabine Knöfel wrote:<br>
<br>
        Hi,<br>
<br>
        double clicking on one word in the system browser selects this<br>
        word in one<br>
        color and all other appearances of this wort in another color.<br>
        This is nice.<br>
        Is there a possibility to change ALL the occurences of this word<br>
        in one<br>
        action? I did noch find this feature yet.<br>
<br>
        I do not mean the search and replace dialog - to many clicks while<br>
        developing.<br>
<br>
        Greetings Sabine<br>
<br>
<br>
<br>
        --<br>
        View this message in context:<br></div>
        <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><div class="im">
<br>
        &lt;<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>&gt;<br>
        Sent from the Seaside General mailing list archive at Nabble.com.<br></div>
        _________________________________________________<br>
        seaside mailing list<br>
        seaside@lists.__<a href="http://squeakfoundation.org" target="_blank">squeakfoundation.org</a><br>
        &lt;mailto:<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>&gt;<br>
        <a href="http://lists.squeakfoundation." target="_blank">http://lists.squeakfoundation.</a>__org/cgi-bin/mailman/listinfo/__seaside<br>
        &lt;<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>&gt;<br>
<br>
<br>
    _________________________________________________<br>
    seaside mailing list<br>
    seaside@lists.__<a href="http://squeakfoundation.org" target="_blank">squeakfoundation.org</a><br>
    &lt;mailto:<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>&gt;<br>
    <a href="http://lists.squeakfoundation." target="_blank">http://lists.squeakfoundation.</a>__org/cgi-bin/mailman/listinfo/__seaside<div class="im"><br>
    &lt;<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>&gt;<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">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>