Limit the replace – Nisus Writer Pro User Manual

Page 314

Advertising
background image

294

Using Normal Find

Finding and Replacing Text

lowercase occurrences of the Find Expression.
“I hope that the writer in you will blossom with Nisus Writer Pro.”
With Ignore Case turned off and the word “writer” as a find expression, Nisus
Writer Pro would find only the first instance of the word (the noun not the proper
noun).
“I hope that the writer in you will blossom with Nisus Writer Pro.”

Whole Word

When checked, Nisus Writer Pro finds the Find Expression only if it forms an
entire word.
When unchecked, Nisus Writer Pro finds the Find Expression even if it makes up
only a portion of a word.
For example, with Whole Word checked, Nisus Writer Pro would not find the word
“hat” in “that.”

In Selection

When chosen from the Where pop-up menu and you click any of the Find or
Replace buttons finds or replaces occurrences of the Find or Replace Expression
in the selected area of text only.
You can find or replace all instances simultaneously by clicking Find All or
Replace All.
Click Next to have Nisus Writer Pro select the first instance from the beginning of
the selection (clicking Find Previous starts and the end of the selection).
Additional clicks of Next causes Nisus Writer Pro to step through each instance of
the pattern in the original selection, and beep when you come to the last one. In
other words it remembers the selection, and finds “in selection” relative to that
original selection.
Click Replace & Find to have Nisus Writer Pro replace the first instance from the
beginning of the selection and select the following instance.

Here to End

When chosen from the Where pop-up menu and you click any of the Find or
Replace buttons finds or replaces occurrences of the Find or Replace Expression
from the insertion point to the end of the document only (does not “wrap around”).

Here to Start

When chosen from the Where pop-up menu and you click any of the Find or
Replace buttons finds or replaces occurrences of the Find or Replace Expression
from the insertion point to the beginning of the document only (does not “wrap
around”).

Attribute Sensitive

When checked (depending on which check-box is checked… beneath the Find
what
and/or the Replace with boxes), Nisus Writer Pro searches for and finds the
Find Expression only if it matches the attributes assigned from the Format menu
and replaces it with the Replace Expression and the attributes assigned to it from
the Format menu.
You can search for an expression with different attributes, if the attributes are
applied to a single contiguous literal region at the start or end of a pattern.
If you remove all attributes from the Find what or Replace with boxes, the
Attribute Sensitive check box automatically turns itself off.

!

Using the expression: “This That Another” (if Any Attributes (the second command in the
Format menu when the Find/Replace window is open) is applied to “Another”)
Nisus Writer Pro can find: This That Another
even though “Another” has additional attributes associated with it that are not part of the
Find expression.
Similarly, using the expression: “This That Another
Nisus Writer Pro will find: “This That Another”.
The important thing to remember is that this is a “literal” region with attributes.
This behavior is different for PowerFind and PowerFind Pro searches.

Limit the replace

The commands in the pop-up menus at the top of the Find/Replace window apply to the find and
replace action. However, the check boxes for the Find what and Replace with text boxes relate only
to the fields immediately above them. These check boxes allow you to limit the replace in two ways.

Match Case

When checked, Nisus Writer Pro replaces all the found text (whether uppercase or
lowercase depending on the setting for the Find field and matches the original
case of the Find expression regardless of what appears in the Replace field. If the
found text was uppercase Nisus Writer Pro replaces it with uppercase characters,
if the found text was lowercase Nisus Writer Pro replaces it with lowercase
characters.

Advertising