Page 1 of 1
Distinguish "hard" and "soft" line breaks in macros?
Posted: 2008-06-26 21:39:21
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)?
Re: Distinguish "hard" and "soft" line breaks in macros?
Posted: 2008-06-26 23:09:10
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.
Re: Distinguish "hard" and "soft" line breaks in macros?
Posted: 2008-06-26 23:43:48
by andreas
Thanks. I've found that I can search for it with RegEx using "\u2028"