Menu

Possible to trigger Find dialog?

2014-12-30
2019-08-22
  • Daryl Van Humbeck

    Is there a way to have a script open the Find dialog with a given string as the search term?

    I'm doing some pretty extensive editing of HTML files and need a few specific RegEx searches, but I also do a lot of content editing, which requires that I search for text around where I need to edit, which pushes my commonly-used RegEx expressions off the bottom of the recently-used list.

    Creating a script to trigger the Find dialog would be extremely helpful.

     
  • Yevgen Muntyan

    Yevgen Muntyan - 2014-12-31

    Sorry, no, there isn't a way. The dialog uses either the selection or the last string it remembers internally, there is no way to give the search term to it.

     
  • Matt Keefo

    Matt Keefo - 2019-08-22

    <post deleted=""></post>

     

    Last edit: Matt Keefo 2019-08-22

Log in to post a comment.

MongoDB Logo MongoDB