Skip to content

Find and Replace

Use the Find & Replace dialog to search for and replace a specific text string in the code editor.

Find

The Find text box specifies the text that you wish to locate and replace. You may use a regular expression to specify the text being searched.

The combo list allows you to select from a list of recently searched text strings. This list is saved and restored the next time that you open the Studio.

Replace with

The Replace with text box specifies the text that will replace the found text.

The combo list allows you to select from a list of recent replacement strings. This list is saved and restored the next time that you open the Studio.

Match whole word only

Check Match whole word only if the Find text must match an entire word rather than a portion of some word. For example, if you are searching for "one," then the string "tone" would not produce a match.

Match case

Check Match case if the case of the Find text is significant in the search. For example, if you are searching for "BEGIN," then the string "Begin" would not produce a match.

Regular expression

Check Regular expression if you are using a regular expression in the Find text.

Preserve Case

Check Preserve Case to apply the text case formatting of the Find text to the Replace text for each occurrence found.

Replace in

The Replace in group specifies the area of text being searched: - Selection: Only the currently selected text will be searched. - Entire buffer: The entire contents of the editor will be searched.

Find Next

Click the Find Next button to find the next occurrence of the Find text.

Replace

Click the Replace button to perform a replace on the currently selected occurrence of the Find text.

Replace All

Click the Replace All button to replace every occurrence of the Find text in one operation.

Cancel

Click the Cancel button to close the Find & Replace dialog.

See Also