How to Fix 'Replace' Functionality in EmEditor: A Comprehensive Guide
How to Fix ‘Replace’ Functionality in EmEditor: A Comprehensive Guide
Viewing 3 posts - 1 through 3 (of 3 total)
- Author
Posts - October 5, 2008 at 4:17 pm #6319
Stefan
Participant
v8 beta3
I don’t know if this is beta related only. So i post it here. O.K.?
Problem:
Replacing with two lines in replace-box of find+replace-dialog
didn’t works for REPLACE ALL feature?
Fact:
I have this line:
Drive, Sub-command [, Drive , Value]
I want get this lines:
#T=Drive
Drive, Sub-command [, Drive , Value]#
I use regEx search
^(w+)(,)(.+)$
and replace with
#T=1
123#
If i now use single FIND and then REPLACE all works O.K.
I get:
#T=Drive
Drive, Sub-command [, Drive , Value]#
Only if i use REPLACE ALL i get an bad result like
#T=Drive Drive, Sub-command [, Drive , Value]#
Now i found i have to use n insteed an real linebreak in replace box:
Replace with: #T=1n123#
Then it works.
This was not logically to me
since we can use replace with several lines. Isn’t it?
So i think this is some kind of bug and i want to report it.
—
Second issue:
I used to test my expression by using single-Find and single-replace on the first few lines..
If all went O.K. i use global-Replace All
But this feature in EmEditor
replace the first few test lines again too :-o
I never have seen this behavior with other editors.
They replace all BELOW current cursor position ONLY.
And not the lines above.
Would be nice if EmEditor would do this too.
Or what do you think?
If you need more info just ask. :-D
October 6, 2008 at 12:50 am #6326
Yutaka Emura
Keymaster
Stefan wrote:
v8 beta3
I don’t know if this is beta related only. So i post it here. O.K.?Problem:
Replacing with two lines in replace-box of find+replace-dialog
didn’t works for REPLACE ALL feature?Fact:
I have this line:
Drive, Sub-command [, Drive , Value]I want get this lines:
#T=Drive
Drive, Sub-command [, Drive , Value]#I use regEx search
^(w+)(,)(.+)$and replace with
#T=1
123#If i now use single FIND and then REPLACE all works O.K.
I get:
#T=Drive
Drive, Sub-command [, Drive , Value]#Only if i use REPLACE ALL i get an bad result like
#T=Drive Drive, Sub-command [, Drive , Value]#Now i found i have to use n insteed an real linebreak in replace box:
Replace with: #T=1n123#
Then it works.
This was not logically to me
since we can use replace with several lines. Isn’t it?
So i think this is some kind of bug and i want to report it.—
Second issue:
I used to test my expression by using single-Find and single-replace on the first few lines..
If all went O.K. i use global-Replace AllBut this feature in EmEditor
replace the first few test lines again too :-oI never have seen this behavior with other editors.
They replace all BELOW current cursor position ONLY.
And not the lines above.
Would be nice if EmEditor would do this too.Or what do you think?
If you need more info just ask. :-D
I fixed your first issue. Thank you for reporting.
The second issue must be added as an option. It is too late for Version 8, but I might think as a new feature in future versions. Thanks!
October 7, 2008 at 6:35 am #6339
Stefan
Participant
I fixed your first issue. Thank you for reporting.
Test with v8 beta4, fixed confirmed ;-) :pint:
Thank you Yutaka.
Note to others:
those visual, real line breaks in replace string are stored as n
The second issue must be added as an option.
It is too late for Version 8, but I might think as a new feature in future versions.
Thanks you.
- Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Also read:
- [New] 2024 Approved The Art of Duality Mastering Image Turnover on Social Media Giants
- [New] Beyond the Box A List of Non-GameBar Screen Recorders for 2024
- [Updated] 2024 Approved Captivating Audiences on a Shoestring Budget – YouTube Shorts Success Tips
- [Updated] 2024 Approved Vlog with Verve Following in the Footsteps of Video Experts
- [Updated] From Raw to Refined Your Guide to YouTube Video Edits
- [Updated] In 2024, How to Safely Increase Your YouTube Fanbase To One Million
- 電子メールサーバへのログイン時、アプリパスワードを有効化するための詳細ガイド
- 最適策略:搶救被移除的文件與影像
- Best Buy's Must-Have June 2024 Promotions: Unbeatable Deals & Discounts Revealed!
- Efficient iPhone Backup Solutions - Resolve Your Forever Waiting Issues
- HDDのコピーをゼロから始める!無料プログラム集
- How Can I Use a Fake GPS Without Mock Location On HTC U23 Pro? | Dr.fone
- How to Restore a Damaged or Lost Partition on Your PC Using the Latest Windows 11 Tools and Techniques
- The Art of Color Grading Employing LUTs From CG Central for 2024
- Vier Methoden Zum Hochladen Von iPhone-Bildern Auf Ein Chromebook
- Windows 7 のシステム復元機能:手順ガイド
- Windows Server Backup Restoration Successful – Old Snapshots Recovered
- Title: How to Fix 'Replace' Functionality in EmEditor: A Comprehensive Guide
- Author: Andrew
- Created at : 2024-11-20 05:24:02
- Updated at : 2024-11-23 01:02:14
- Link: https://win-latest.techidaily.com/how-to-fix-replace-functionality-in-emeditor-a-comprehensive-guide/
- License: This work is licensed under CC BY-NC-SA 4.0.