This presents the Find dialog box to let you specify the search parameters.
To find only text with uppercase and lowercase characters, as specified in Find what, select Match case.
To find only specific text that is distinctly separated from other text with spaces, select Match whole word only. For example, to find "SAY", but not "RXSAY", you would specify "SAY" and also select Match whole word only.
You can specify which direction to search starting from the current cursor position. In Direction, click Up to search from the cursor position to the start of the script. Click Down to search from the cursor position to the end of the script.
Select Wrap around if you wish the search to continue from the bottom of the document, when searching in an upward direction (or to continue from the top of the document when searching in a downward direction). This ensures that you don't miss any matches that may occur before the current cursor position.