Frank Wunderlich wrote:
Von: Alphax <[EMAIL PROTECTED]>
Ervin Peters wrote:

Isn't using 'Search & Replace' with regex and '\n' an easy way to do it?

I've found that you need to disable regex and enable "transform
backslash expressions", and it helps to turn line endings on
(ctrl+shift+9) so you can see if the line endings are CRs, LFs or a mix
of both. Best to do '\r' and '\n' if you want to be certain.

I've tried both solutions but \n is not found, i have created a simple
textfile with 4 lines and windows-line-breaks (CRLF, \r\n). they will be
displayed if i show line-end-characters.

i tried also to mark all and search in selection. but \n wasn't found.

Greets frank

If you need it often enough that a hotkey combination is desirable, then I suggest a Lua function... that way, you can make the function handle CR, LF and CRLF.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to