I would like to open the find panel programmatically in my package, for a given TextEditor object, with a given search term and options. Is that possible?
I found TextEditor::scan, but that gives me the search results directly. What I would like to do is initiate the search for the user in the UI, but let them continue / abandon it interactively.
Background: I get error messages from an external program, but without corresponding line numbers, only a part of the offending code.
I would like to open the find panel programmatically in my package, for a given TextEditor object, with a given search term and options. Is that possible?
I found
TextEditor::scan
, but that gives me the search results directly. What I would like to do is initiate the search for the user in the UI, but let them continue / abandon it interactively.Background: I get error messages from an external program, but without corresponding line numbers, only a part of the offending code.