Off-topic posts of interest to the "Everything" community.
-
Debugger
- Posts: 559
- Joined: Thu Jan 26, 2017 11:56 am
Post
by Debugger » Fri Mar 08, 2019 7:05 pm
Line Feed (LF) or Newline - not work
Code: Select all
08.03.2019\nDroga J!\n\nNie jestem najbardziej
08.03.2019
Droga J!
Nie jestem najbardziej
Last edited by
Debugger on Sat Apr 20, 2019 9:34 pm, edited 1 time in total.
-
vanisk
- Posts: 152
- Joined: Sat Oct 27, 2018 11:33 am
Post
by vanisk » Fri Mar 08, 2019 9:10 pm
Carriage Return (Cr) & LineFeed (Lf)
\r\n
Code: Select all
08.03.2019\r\nDroga J!\r\n\r\nNie jestem najbardziej

- carriage return linefeed notepad++.jpg (70.92 KiB) Viewed 1808 times
(Edit: Some texteditors accepts simple \n, but others accepts only \r\n)
-
Debugger
- Posts: 559
- Joined: Thu Jan 26, 2017 11:56 am
Post
by Debugger » Fri Mar 08, 2019 11:16 pm
I wonder why it does not work in EmEditor 18.6.6, even though the program has the option "Multiline" in "Search -> Find".
-
vanisk
- Posts: 152
- Joined: Sat Oct 27, 2018 11:33 am
Post
by vanisk » Fri Mar 08, 2019 11:37 pm
Debugger wrote: ↑Fri Mar 08, 2019 11:16 pm
I wonder why it does not work in
EmEditor 18.6.6, even though the program has the option "
Multiline" in "
Search -> Find".
Check the attached screenshot
1. If advanced option "Treat CR & LF Separately" is enabled, then we have to use \r\n (for newline character)
2. If "Treat CR & LF Separately" is disabled, we can use \n

- EmEditor Options.jpg (86.5 KiB) Viewed 1800 times
.

- CrLF.jpg (39.06 KiB) Viewed 1800 times
(Checked on EmEditor (64bit) 18.6.8 Portable)
-
Debugger
- Posts: 559
- Joined: Thu Jan 26, 2017 11:56 am
Post
by Debugger » Sat Mar 09, 2019 5:00 pm
vanisk
Yes, it works now.
But there is another problem.
How to write a few words, in Multiline?
Can not move the cursor down, or the ENTER does not work.
You can just paste the text - making it difficult every time!

-
vanisk
- Posts: 152
- Joined: Sat Oct 27, 2018 11:33 am
Post
by vanisk » Sat Mar 09, 2019 5:32 pm
Debugger wrote: ↑Sat Mar 09, 2019 5:00 pm
How to write a few words, in Multiline?
Can not move the cursor down, or the ENTER does not work.
You can just paste the text - making it difficult every time!
Can you please explain a little bit more?
-
Debugger
- Posts: 559
- Joined: Thu Jan 26, 2017 11:56 am
Post
by Debugger » Sat Mar 09, 2019 6:01 pm
vanisk
EmEditor
1. CTRL+F
2. Enable: Multiline
Try to write the text in many lines.
Impossible. Why?
-
vanisk
- Posts: 152
- Joined: Sat Oct 27, 2018 11:33 am
Post
by vanisk » Sat Mar 09, 2019 6:20 pm
In EmEditor find window, Enter key is default key for Find Next,
So we have to use Control+Enter instead of Enter for multiline text in Find Window.
-
Debugger
- Posts: 559
- Joined: Thu Jan 26, 2017 11:56 am
Post
by Debugger » Sat Mar 09, 2019 6:29 pm
vanisk - You talk well CTRL+ENTER

Thank You.
-
vanisk
- Posts: 152
- Joined: Sat Oct 27, 2018 11:33 am
Post
by vanisk » Sat Mar 09, 2019 6:35 pm
Debugger wrote: ↑Sat Mar 09, 2019 6:29 pm
vanisk - You talk well CTRL+ENTER

Thank You.
You're welcome.