find/replace doesn't take care of the font style

Everything related to our flagship word processor.
Post Reply
dakofi
Posts: 17
Joined: 2003-02-07 07:48:35

find/replace doesn't take care of the font style

Post by dakofi »

Hi

've a problem with find/replace. If I'm looking for an expression in italics font style, expressions in italics+superior are marked as well. Or in case I'm looking for lower case letters [[lower]] the upper case letters [[upper]] appear as well.
It is strange. In Nisus Classic I've never had such a problem.

Thanks for your feedback.

dakofi
Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: find/replace doesn't take care of the font style

Post by Kino »

dakofi wrote:Or in case I'm looking for lower case letters [[lower]] the upper case letters [[upper]] appear as well.
You have to uncheck Ignore Case. Umm... I find it a bit counterintuitive. Perl seems to work in that way, though (but ignore case is something exceptional in Perl). IMO [[:lower:]] should not match upper case letters regardless of Case option. If you use \p{Lower} instead of [[:lower:]], you don't need paying attention to the Case option, btw.
Last edited by Kino on 2008-09-21 07:20:34, edited 1 time in total.
Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: find/replace doesn't take care of the font style

Post by Kino »

dakofi wrote:If I'm looking for an expression in italics font style, expressions in italics+superior are marked as well.
Nothing strange, it is in Italic anyway. If you want to exclude text in Italic AND Superscript...

1. Type ".+" or any expression fitting your purpose in the find field;
2. Apply Any Attributes on the find expression;
3. Apply Italic on the find expression;
4. Apply Format:Baseline:No Super/Sub on the find expression.
5. Hit Next or any button you like.
dakofi
Posts: 17
Joined: 2003-02-07 07:48:35

Re: find/replace doesn't take care of the font style

Post by dakofi »

Good to know.

Thanks.
Post Reply