Page 1 of 1

Searching code for string

Posted: Fri Nov 11, 2022 2:34 pm
by CAsba
Hi,
Is it possible in LC to search for string in the code that's been written ? And so find the code that ccontains the string.

Re: Searching code for string

Posted: Fri Nov 11, 2022 2:38 pm
by richmond62
Use the Search & replace thing:
-
Screen Shot 2022-11-11 at 3.40.29 PM.png

Re: Searching code for string

Posted: Fri Nov 11, 2022 3:39 pm
by CAsba
Thanks for that, but, where do I find the search and replace thing ?

Re: Searching code for string

Posted: Fri Nov 11, 2022 3:55 pm
by Klaus
Sigh...
Screen Shot 2022-11-11 at 3.40.29 PM.png

Re: Searching code for string

Posted: Fri Nov 11, 2022 4:01 pm
by richmond62
Screen Shot 2022-11-11 at 5.04.04 PM.png

Re: Searching code for string

Posted: Fri Nov 11, 2022 4:35 pm
by Klaus
Ah, sorry, CAsba meant that one...

Re: Searching code for string

Posted: Fri Nov 11, 2022 4:38 pm
by CAsba
Whoopee ! Got it ! Thanks a million.

Re: Searching code for string

Posted: Fri Nov 11, 2022 5:37 pm
by dunbarx
CAsba.

That tool is invaluable. It can find anything anywhere. I use it mainly to search the Script Editor (SE), but know that in order to access it, you cannot have the SE in focus. If you do you will only see the "local" SE version of Find and Replace, as opposed to the more powerful one accessed from a stack.

So you should have both your stack and the SE open. With the stack in focus, you can then access the tool. Make sure the "Script" checkbox is hilited.

Craig