<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">squeak does that with cmd-j and ctrl-j<br>
      <br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 9/28/12 2:23 PM, Sabine Kn&ouml;fel
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACev54JPxwzE4Dba9djivNK0sj-VstW-SsEWyhuM3PxuFTCOoA@mail.gmail.com"
      type="cite">Thank you Hern&aacute;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 started to rename the parameter "aHtmlRoot" to "html". <br>
      <br>
      Now I have to doubleclick each single "aHtmlRoot" and paste
      "html". This is boring. It would like that all the highlighted
      words change in the same moment, I change the first one. This
      could be switched on in the 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>
      <div class="gmail_quote">On Fri, Sep 28, 2012 at 7:42 PM, Hern&aacute;n
        Morales Durand <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:hernan.morales@gmail.com" target="_blank">hernan.morales@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">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; Refactoring scope -&gt; Selection (you may filter
          by multiple methods, categories, classes or packages depending
          your current selection in OB)<br>
          2) In the new browser window, select method, contextual menu
          -&gt; Refactor -&gt; Source Regex...<br>
          <br>
          For example given the method:<br>
          <br>
          test1<br>
          &nbsp; &nbsp; &nbsp; &nbsp; | var1 var2 var3 var4 |<br>
          &nbsp; &nbsp; &nbsp; &nbsp; <br>
          &nbsp; &nbsp; &nbsp; &nbsp; var3 := #symbol1.<br>
          &nbsp; &nbsp; &nbsp; &nbsp; var4 := 'cadena1'.<br>
          &nbsp; &nbsp; &nbsp; &nbsp; var1 := 'my first testString'.<br>
          &nbsp; &nbsp; &nbsp; &nbsp; var2 := 'my second testString'.<br>
          &nbsp; &nbsp; &nbsp; &nbsp; ^ var1 foobar , var2 foobar<br>
          <br>
          a regex refactoring replacing #symbol1 with 'symbol1' and
          'testString' with 'myString' could be:<br>
          <br>
          ORSourceRegexRefactoring new<br>
          &nbsp; &nbsp; &nbsp; &nbsp; "Example 1: Replace symbols with strings"<br>
          &nbsp; &nbsp; &nbsp; &nbsp; replace: '#(\w+)' with: '''$1''' ignoreCase: false;<br>
          &nbsp; &nbsp; &nbsp; &nbsp; "Example 2: Replace occurrences of a string with
          another string"<br>
          &nbsp; &nbsp; &nbsp; &nbsp; replace: '#*testString' with: 'myString';<br>
          &nbsp; &nbsp; &nbsp; &nbsp; yourself<br>
          <br>
          3) Open menu on the refactoring source code, click Accept (DO
          NOT use the keyboard commands)<br>
          4) A new browser window will let you accept, filter, or cancel
          the refactorings.<br>
          <br>
          If you want to modify message patterns/nodes, use the Refactor
          -&gt; Rewrite code... templates. Take a look at: <a
            moz-do-not-send="true"
            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 about the rewrite rules.<br>
          Hope it helps.<br>
          Cheers,<br>
          <br>
          Hern&aacute;n
          <div class="HOEnZb">
            <div class="h5"><br>
              <br>
              <br>
              On 28/09/2012 4:51, Sabine Kn&ouml;fel wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Hi,<br>
                <br>
                double clicking on one word in the system browser
                selects this word in one<br>
                color and all other appearances of this wort in another
                color. This is nice.<br>
                Is there a possibility to change ALL the occurences of
                this word 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: <a moz-do-not-send="true"
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>
                Sent from the Seaside General mailing list archive at
                Nabble.com.<br>
                _______________________________________________<br>
                seaside mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:seaside@lists.squeakfoundation.org"
                  target="_blank">seaside@lists.squeakfoundation.org</a><br>
                <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
                  target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
                <br>
              </blockquote>
              <br>
              _______________________________________________<br>
              seaside mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:seaside@lists.squeakfoundation.org"
                target="_blank">seaside@lists.squeakfoundation.org</a><br>
              <a moz-do-not-send="true"
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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>