Toad highlights text that is repeated, can you change it easily?

Follow / 16 Nov 2012 at 12:43am
When you have the same text in the same sql statement or multiple statements in the same window and highlight one occurence of that text toad will automatically highlight all the occurences of it.  Is there a slick way of changing all of those highlighted instances using that feature?  Seems like you should be able to do something like double click the text to select, toad then highlights any matches, you should be able to right click one of the highlighted occurences and pick something like change selected ....

Replies

  • Follow / 11 Jul 2018 at 2:26pm

    Is there an answer to this question? I am wondering the same.

    Thank you :)!

  • Follow / 11 Jul 2018 at 4:36pm

    By default, if you highlight or place your cursor on a string and then hit Cntl-R (Replace), it automatically loads that string into the "Text to find:" text box of the dialog. Not as simple as the right mouse functionality you were looking for, but it will get you to the same place.

  • Follow / 11 Jul 2018 at 4:53pm

    Thank you for your quick reply :)!! That's a great idea for replacing; will definitely use it.

    If you come across with a way of deleting all highlighted strings, I would be interested too :)! 

  • Follow / 11 Jul 2018 at 4:58pm

    If you leave the "Replace with:" text box empty, the replace will effectively delete the "Text to find:" string.