Replace Text
Figure 3.6 shows the Replace Text window. This window is applicable to getin/getout
databases or sequence databases. Replace Text allows for a global replacement of one text
string with another text string. The substitution can be performed over all databases or
over a single selected database between a selected contiguous range of records. For example,
you could change all occurrences of Eight Chain 3 to Dixie Grand
within the GETOUT database.
Modified records will have their proofread status set to 'no'.
The window consists of several parts:
- The Search (upper L-H corner) specifies which databases are to be searched
- All databases searches all databases. A Start Database
and a Start index within that database must be specified. After the start
database has been searched, the next database on the database list will have all it's records
searched. Note that this option doesn't search all databases: it just starts at the given
database and index (if you want to search all databases, start at the first database and use a start index of 1).
- Individual database searches only an individual database. The
Start index and End index must also be specified.
- The current time of day is displayed in the upper R-H corner.
- Find What (upper R-H corner) is the text string to search for. The search is case-independent.
- Replace With (upper R-H corner) is the string to be used as the replacement.
- The Options frame specifies the action to be taken when a match is found.
- Case dependent, when checked, indicates that the search is case-dependent.
- Verify each change, when checked, causes the program to pause
after each match is found. You then have three options: Change this line,
Skip, and Edit record (options are described below).
If Verify each change is not checked, the program will be in automatic mode,
changing each occurrence of the Find What string to the Replace With string.
- Tokenized replacement, when checked, indicates that matches must
have spaces or punctuation on both sides of the string within the text being searched.
For example, if the Find What string is 'an' then, when checked, only records
that have the word 'an' will match; when not checked, words such as 'can' and 'anchor' will also match.
- The Match found in <database>-<record> (line N) (L-H side of window)
shows the name of the database, the record number and the line number of the current match.
- Immediately below the Match found line is the text in which the match
was found, and immediately below that is a large text box showing the database and record
index on line 1 followed by the entire text of the record.
- The Results frame (R-H side of window) shows the results of the search.
- Database is the current database being searched.
- Index is the current record number within the current database.
- # of matches is the total number of matches found. Some records may have more than one match.
- # of recs matched is the number of records in which at least one match was found.
- # of recs searched is the number of records searched.
- # of recs modified is the number of records that were changed.
Change this line changes the current list by replacing the Find What
string with the Replace What string.
Skip restarts the search. If the record was not edited and Change this line
was not selected, then no changes are made to the current record.
Edit record edits the current record. See Section 3.0 (if the record
is a getin/getout), or see Section 7.3 (if the record is a sequence).
Abort search prompts for confirmation and then aborts the search process.