- September 9, 2020 at 12:02 am #27012skyParticipant
Text line 1: ABC
Text line 2: DEF
“Selected Text or Word at Cursor” or “Selected Text” is checked in Replace dialog box.
Step 1. Select “ABC”
Step 2. Press Ctrl+H, it is OK.
Step 3. Select “ABC\nDEF”
Step 4. Press Ctrl+H, it is still shown “ABC”, not selected text “ABC\nDEF”.
Step 5. Press Ctrl+F, it is OK.
Step 6. Select “DEF” (without \n)
Step 7. Press Ctrl+H, it is OK.September 9, 2020 at 8:34 am #27013
This is the correct behavior if you select multiple lines. In this case, EmEditor will set the In the Selection Only option instead.September 10, 2020 at 2:58 am #27018LTTParticipant
You can use “Set Word to Find/Replace” commands to pick up a selection, no matter if it’s multi-line.
** But these 2 commands do not work as expected when “Find/Replace” dialog is open:
In “Find/Replace” dialog, the current string does not change correspondingly, though the picked string is already at the top of the history dropdown.
+ Suggestion 1:
Make these 2 commands also work for “Find/Replace in Files” dialog.
+ Suggestion 2:
Add “selection” in the descriptions for these 2 commands:
Sets the current word (or selection) as the find/replace string.September 11, 2020 at 10:49 am #27027
These issues and suggestions will be addressed on the next version. Thank you!September 25, 2020 at 11:43 pm #27061LTTParticipant
When Find/Replace (or Find/Replace in Files) dialog is open,
Select text containing a newline character.
Use “Set Word to Find/Replace” command.
** “Escape Sequence” option should be enabled in Find/Replace (or Find/Replace in Files) dialog (as in Find toolbar).September 26, 2020 at 3:57 pm #27062
I will fix this issue on the next version. Thank you!
- You must be logged in to reply to this topic.