Replace window
The Replace window is available from the Search menu.
The Replace Dialog is functionally very similar to the Find Text Dialog, but allows you to replace the found text with new text of your choosing. To this end, there is the usual Find… options, such as the edit field for your search text, but an additional edit field with which you can specify the text you want to replace the found text with.
As with the Find Text Dialog (the chapter for which gives more information about searching for text), you can specify that the text to search for is an expression with the "Find Expression" checkbox, and also that the text to replace it with is also an expression with the "Replace Expression" checkbox.
The Direction and Origin options are the same as for the Find Dialog, as is the "Case Sensitive" option.
Lastly, there are the two buttons at the bottom of the window:
- Replace All
This button will, regardless of direction and origin, replace all occurrences of the search text with the replace text in your program.
- Replace
Will perform one replace operation at a time, subsequent presses of this button will repeat the process with the next occurrence of your search text.