The search functionality helps you find specific code parts in Script Editor.
Procedure
Press Ctrl+F in the script displayed. The Find dialog opens.
Specify the relevant settings and click OK.
The areas found are selected one after the other when you click Find.