nisus.com
https://www.nisus.com/forum/

find/replace doesn't take care of the font style
https://www.nisus.com/forum/viewtopic.php?f=18&t=3174
Page 1 of 1

Author:  dakofi [ 2008-09-19 06:20:18 ]
Post subject:  find/replace doesn't take care of the font style

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

Author:  Kino [ 2008-09-19 07:54:30 ]
Post subject:  Re: find/replace doesn't take care of the font style

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.

Author:  Kino [ 2008-09-19 09:35:02 ]
Post subject:  Re: find/replace doesn't take care of the font style

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.

Author:  dakofi [ 2008-09-25 05:24:00 ]
Post subject:  Re: find/replace doesn't take care of the font style

Good to know.

Thanks.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/