Menu

Ability to select+search

2008-03-10
2012-11-13
  • Nobody/Anonymous

    Can we select+search, ie press SHIFT+F3 to find the next match, and select what was between the cursor and the matched string.  This is great for macros.  All other editors seem to have this ability.

    ai-a on undernet.

     
    • Nobody/Anonymous

      What is that suppost to mean ?  It's possible? If so.. How ?

      ai-a on Undernet.

       
    • Nobody/Anonymous

      Okay, then let me ask:

      HOW DO I SELECT UP TO THE NEXT FIND STRING USING A MACRO ? AND OTHER INFORMATION WOULD BE HELPFUL TOO.

      ai-a on Undernet.

       
      • Don HO

        Don HO - 2008-03-14

        What do you want to do?
        An example will help to answer your question.

        Don

         
        • Nobody/Anonymous

          It looks like removing messages from this thread doesn't help very much either, Don.

          I can't get the picture from what's left.

          I don't think it's a big problem to ask someone to explain what he wants.
          Why do you (also) remove any constructive approach?
          This is also not very inviting forum users to answer questions (over and over again).

           
    • Nobody/Anonymous

      All I want to be able to do is select the text between the cursor position and the next find.  press F3 it finds the next match. But in a macro I want to delete the text between these matches.  You select down with SHIFT+DOWN, why not have SHIFT+F3 select to the next match ?

       
      • Nobody/Anonymous

        SHIFT+F3 = search backwards, changing that is very unwanted.

        Let me ask you, why do you want to record a macro?
        Are there more occurrences in the document you want to process?

        'cause I get to thinking, when you do that, you will only be left with a number of times the word you searched for... You might also count those, then, and create the remaining document yourself.

        I think you should be taking a look at the Simple Script Plug-In which has a function called "DeleteBetweenTags". My guess is, it does exactly what you want, although I am not sure about recursive operations when you really want to delete text between any two occurrences of your search string. Are you talking about (HTML) tags here?