Reference Guide

XCHANGE

 

Replace one pattern with another

 

Command

key:

X or CTRL—X

Command

prefix:

Varies

Location:

KEYWORD Command Menu

 

 

EDIT Command Menu (Paragraph Editor)

See also:

KEYWORD; EDIT

When you give the KEYWORD/XCHANGE command (command key X), ThinkTank prompts you for a search pattern and a replacement pattern. It then examines the headlines and paragraphs beneath the bar cursor headline and replaces all instances of the search pattern with the replacement pattern.

Instances must match the search pattern by character and case

(upper and lower). You can set a command prefix to limit the replacement to a certain number of levels beneath the bar cur sor headline.

When you select XCHANGE (command key CTRL—I) from the EDIT Command Menu in the paragraph editor, ThinkTank displays the XCHANGE Command Menu which gives you two ways of replacing patterns. The options are:

*BROWSE: Stops at each occurrence of the search pat- tern and lets you choose whether to replace. (Com- mand key CTRL—X)

*ALL: Replaces all occurrences of the search pattern from the flashing cursor to the end of the para- graph. (Command key CTRL—A)

*ESCAPE: Cancels or concludes the XCHANGE command and returns to the Top Level of the paragraph editor. (Command key ESC)

Occurrences must match the search pattern by character and

ease. See the reference guide listings under these options

for further information.

—195—