searchreplace - TOra
Description: TOra

Next: preferences, Previous: charts, Up: workspace

### 3.7 Search & Replace

TOra has an advanced search and replace function that allows you to search result list and editors. Replace is only available for editors though. You can invoke the search & replace dialog by selecting the menu Edit|Search & Replace or by pressing CTRL+F. The search always operates on the last editor or list that had the focus when you invoked the dialog. Not on the current widget of the next search etc. The dialog looks like this.

#### Specifying the search criteria

You enter the text to search for, this can be either in the format of plain text or regular expressions as defined by the current version of Qt which TOra is compiled against (For more information check out http://doc.trolltech.com/qregexp.html, if you are using Qt 3.0 or later you have a more advanced form of regular expressions).

You can also specify if the search expression must match a whole word or if the match is to be case sensitive.

After specifying what you are looking for you can execute your search by either pressing the Search Top button which will start the search from the top of the contents of the target for the search or Search Next which will continue searching for the next match from the current location.

#### Replacing

In the replace text field you can specify the text with which to replace a matched find that has been found. Note that regardless of if the search is case sensitive or not the replacement is the same case as specified in the text field.

After finding the first occurrence by pressing Search Top or Search Next you can either replace it with the current substitution by pressing Replace, or skip to the next by pressing Search Next button again. At any time the Replace All will replace all occurrences after the current location in the editor.