Find and replace dialog

Find and replace is done in a dialog window where all relevant options can be set:

the find and replace dialog

Text to find

In field Text to find an arbitrary text phrase can be entered. This text phrase will be searched during a find or replace operation.

Replace with

In field Replace with a text phrase is entered that is to replace the text phrase entered in field Text to find.

Find next...

Button Find next... is pressed to initiate a find operation with the settings currently selected in the find and replace dialog.

Replace...

By pressing button Replace... a replace operation is initiated. The find and replace dialog is hidden and the next occurrence of the phrase in field Text to find is located. When found, an option pane lets the user choose whether or not the found occurrence shall be replaced by the phrase in field Replace with. Alternately the user can choose to replace all occurrences or to terminate the replace operation. Once done, the find and replace dialog appears again.

Cancel

Button Cancel is used to terminate a find operation. It is only enabled (not dimmed) when a find operation is in progress (button Find next... has been pressed). With pressing button Cancel the current find operation is terminated and the find and replace dialog can be used to start a new find and replace operation with different settings.

Close

With button Close the find and replace dialog is closed.

Whole words only

Option Whole words only is used to restrict matches to whole words. When not selected all occurrences of the phrase in field Text to find are located even when they are found as part of a word.

Match case

By selecting option Match case a find operation only locates occurence of the phrase in field Text to find when they match the exact case.

Search from start

Selection of option Search from start causes a find operation to begin either at the first or last position of the particular document regardless of the current caret position, depending on setting Search up and Search down respectively.

Search whole project

Option Search whole project is only visible when more than one document is open at the moment. With selection of option Search whole project all documents are searched that are currently open.

Search up

Option Search up causes the search to be performed from bottom to top of any given document.

Search down

Option Search down causes the search to be performed from top to bottom of any given document.