Distinguish "hard" and "soft" line breaks in macros?

Everything related to our flagship word processor.
Post Reply
User avatar
andreas
Posts: 37
Joined: 2008-05-25 12:41:12
Location: Germany
Contact:

Distinguish "hard" and "soft" line breaks in macros?

Post by andreas »

Is it possible to make a macro (or a search/replace function) distinguish between hard line breaks (Return) and soft ones (shift + return)?
User avatar
martin
Official Nisus Person
Posts: 5230
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Distinguish "hard" and "soft" line breaks in macros?

Post by martin »

This is very easy. In the Find & Replace window you can use the gear menu to insert Special Characters > Soft Return or a regular "hard" return. Any Find and Replace pattern you come up with there can be turned into a macro if you like.
User avatar
andreas
Posts: 37
Joined: 2008-05-25 12:41:12
Location: Germany
Contact:

Re: Distinguish "hard" and "soft" line breaks in macros?

Post by andreas »

Thanks. I've found that I can search for it with RegEx using "\u2028"
Post Reply