Replace

<< Click to Display Table of Contents >>

Replace

Sometimes, you want to do more than just find a term in the text. You also want an easy way of replacing it with another term. The ribbon command Home | Replace (in the Search group) is used for this purpose.

Proceed as follows:

1.Choose the ribbon command Home | Replace replace_icon.
2.Under Search for, enter the text for which you want to search.
3.Under Replace with, enter the text that is to replace the search text.
4.Enable the desired search options (see Advanced search options) if required.
5.Click on the Search button to start the search.

When TextMaker finds the search text, it scrolls to its position in the document and selects it.

You now have the following options:

A.You can click on Replace, whereupon the search term is replaced with the replacement term and TextMaker jumps to the next occurrence of the search term.
B.You can click on Search again, whereupon TextMaker jumps to the next occurrence of the search term – without replacing the term.
C.You can click on Replace all, whereupon TextMaker replaces all other occurrences of the search term in the text.
D.You can close the dialog box by choosing Close.

Tip: It is even possible to search for formatting and replace it with different formatting, for example, replacing bold passages with passages in italics. For more information, see Searching/replacing formatting.