Edit online

Find/Replace Content

Oxygen XML Web Author includes a Find/Replace side pane to help you find and replace content in the current document. To open the Find/Replace side pane, select the Find/Replace tab in the vertical stripe on the right side of the screen. If the side panes are not displayed, click the arrow button () at the bottom of the side-pane stripe. You can also click the Search button on the upper toolbar or use the Ctrl + F (Command + F on macOS) keyboard shortcut to open the pane.

Figure 1. Find/Replace Side Pane

The Find/Replace pane includes the following:

Search for Field
This is where you will enter the text that you want to find. The number of results that are found in the current document are shown on the right side in this field and the results are highlighted in the editor. On Desktop devices, you can also use the Enter key on your keyboard to find the next occurrence.
Replace with Field
You can enter text that you want to replace the text you entered in the Search for field. On Desktop devices, you can also use the Enter key on your keyboard to perform the replace operation.
Match case
If selected, the search operation will only find results if the exact letter case entered in the Search for field is found.
Whole words
If selected, the search operation will only find results if the entire word or words entered in the Search for field are found.
Find Next
Goes to the next occurrence of the result (on Desktop devices, you can also use the down arrow on your keyboard).
Find Previous
Goes to the previous occurrence of the result (on Desktop devices, you can also use the up arrow on your keyboard).
Replace
Use this button to perform the replace operation on the current result with the text specified in the Replace with field.
Replace All
Use this button to perform the replace operation on all occurrences of the text specified in the Replace with field.

Other Notes About the Find/Replace Pane

  • A preview of each search result is presented inside the side-pane. This preview includes some text around the search result. If there are more than 200 search results, the previews are not presented.
  • The results are also highlighted in the editor. While the search session is active, the results are updated after any change is made to the document. For large documents, this may slow down editing. To end the search session, you can clear the Search for field.
  • If you close the Find/Replace pane and then reopen it without editing the document, your search result is preserved.
  • If you select content in the editor and then open the Find/Replace pane, the Search for field will automatically be populated with the selected content.
  • The Match case and Whole words options are persistent in your current editing session so it remembers your selection from the last search.

Find/Replace in Text Mode

There is also a Find/Replace mechanism if you are editing in Text mode (Edit as XML from the More drop-down menu). To access the options, click the Search in the top-right corner of the editor and it will expand to reveal the options.

Figure 2. Find/Replace Options in Text Mode