Forum Replies Created
- AuthorPosts
- DavidParticipant
Hello Patrik C
Your explanation are so detailed , now it’s clear.DavidParticipantHello Patrik C, Thanks for your reply.
I understand the difference between CR+LF and CR, LF.
Now I’m talking about the feature Find/Replaces in Files. Would you pls have a try the following expression:- Treat CR and LF Separately check box is activated, img {\r\n can works.It’s good.
- Treat CR and LF Separately check box is disactivated, img {\r, img {\n and img {\r\n doesn’t work at all. But
img \{\n(a slash \ before bracket { )works. Alsoimg {\r?\n?So I’m confusing:
1. if Treat CR and LF Separately check box have to activate during Find/Replaces in Files?
2. While- Treat CR and LF Separately check box is disactivated, What‘s the reason for img \{\n (a slash \ before bracket { )and img {\r?\n? can works?
DavidParticipantYeah, It’s an good idea to add extras key for mouse click. This will give more possibilities.
Is it also possible to consider Shift key?October 28, 2023 at 7:54 pm in reply to: How to convert epoch seconds to human-readable time? #29527DavidParticipantThanks for sharing experience.
October 28, 2023 at 4:03 am in reply to: How to convert epoch seconds to human-readable time? #29525DavidParticipantPlease try by using Find & Replace function:
Find: \d+
Replace: \J new Date(‘\0’)DavidParticipantYes. It’s possible in Emeditor by \J or \V mode. I can’t catch your data, then use a simple JSON data as the following:
Sample Data:
{“name”:”Runoob”, “url”:”www.runoob.com”}
{“name”:”Google”, “url”:”www.google.com”}
{“name”:”Taobao”, “url”:”www.taobao.com”}Find: ^.+$
Replace: \V a=JSON.parse(‘\0’); a.name + ‘\t’ + a.urlSee the screenshot.
DavidParticipantYes, these two functions are exactly what I expected. Thanks!
October 12, 2022 at 6:22 pm in reply to: How to change encode format of thousands of files without openning them? #28737DavidParticipantThank you for your information.I will try and feedback.
DavidParticipantThere’re different way for sorting column, such as A-Z, Z-A, 0-9, shortest – longest……
If having sorting row feature, wish to have same options.DavidParticipantI find another way and test. It seems works correctly.
Search: ^.+$
Replace: \J “\0″.replace(/о́/g,”о”).replace(/а́/g,”а”).replace(/е́/g,”е”).replace(/и́/g,”и”).replace(/у́/g,”у”).replace(/ю́/g,”ю”).replace(/ы́/g,”ы”).replace(/я́/g,”я”)DavidParticipantYour Find& Replace expression doesn’t work at my side yet. If I add else{“Nothing change!”;} at the end:
\J if(“\0″==”о́”){“о”;}else if(“\0″==”а́”){“а”;}else if(“\0″==”е́”){“е”;}else if(“\0″==”и́”){“и”;}else if(“\0″==”у́”){“у”;}else if(“\0″==”ю́”){“ю”;}else if(“\0″==”ы́”){“ы”;}else if(“\0″==”я́”){“я”;}else{“Nothing change!”;}
All found character will be changed to “nothing change!”. I don’t know the reason.We can do it another way. Using batch replace function, you can easily achieve your goals
DavidParticipantWould you please try the following:
Search: [A-D]
Replace: \J if(“\0″==”A”){“alpha”;}else if(“\0″==”B”){“beta”;}else{“three”;}DavidParticipantFor me, I’d like to use \J mode in Emeditor for conditional replacement. It’s more easier to understand.
For example, orginal data:
1
2
3Search: \d
Replace: \J if(\0==1){“one”;}else if(\0==2){“two”;}else{“three”;}DavidParticipantMark this post. It still is my wish list.
DavidParticipantHello, Yutaka sung, Thank you! Now it’s better than before. But if possible to get rid of the “seperator” menu items? Sometimes we define more than ten different seperatoers!
On the other hand, is it possible to add a function “adjust column width”? In settings, I’d like EmEditor decide the width column automatically while opening files. But if the width is too wide,it’s tricky to drag the border of the column to get wanted width, I wish to use a menu item to set the width ,like Excel. Thank you!
September 19, 2021 at 5:08 pm in reply to: Is it possible to add a description column in the batch replace window? #26430DavidParticipantYes, I also need this feature. More and more search criteria are added and it’s easy to forget the usage.
http://ys-c.ys168.com/198138923/jgdtejp4W24673J74PFJ/ScreenShot20191202_072857.jpg</img>September 19, 2021 at 5:08 pm in reply to: Is it possible to add a description column in the batch replace window? #26429DavidParticipantYes, I also need this feature. More and more search criteria are added and it’s easy to forget the usage.
http://ys-c.ys168.com/198138923/jgdtejp4W24673J74PFJ/ScreenShot20191202_072857.jpg</img>September 19, 2021 at 5:08 pm in reply to: Is it possible to add a description column in the batch replace window? #26421DavidParticipantI also wish this features. It will be better to have two columns. One is for row number, sencond is for description. Thanks!
http://ys-c.ys168.com/198138923/jgdtejp4W24673J74PFJ/ScreenShot20191202_072857.jpg</img>DavidParticipantHello, LTT
I agree with you totally. Sometimes we need one layout for handling CSV file, another time need layout for big text file……
I also suggest new command and parameters will be added. We can create different shortcuts for different layout, fox example:
shortcut 1: c:\Emeditor\Emeditor.exe /layout:fullscreen
shortcut 2: c:\Emeditor\Emeditor.exe /layout:non-fullscreen
shortcut 3: c:\Emeditor\Emeditor.exe /layout:alltoolbars
shortcut 4: c:\Emeditor\Emeditor.exe /layout:nontoolbars……DavidParticipantDoes this function exist in latest EmEditor version? It will give great help while copying many contents from other place.
June 5, 2020 at 6:06 pm in reply to: highlight contents in single quotation ‘…’ or double quotation marks”…” #26836DavidParticipantHello, @netsking, you can go to “tools -> customise…. -> active string”. Find and select the type “String enclosed by single(or double) quotation marks.” , then choose event at the right window, such as “Left double-Clicked “. Go to the window bottom, define the action you want. Then when you double click the string enclosed by quotation marks,an action will happen.
“checked single/double quotation marks in highlight (2)”, the color of the string enclosed by quotation marks will change to what you have defined. No other actions will happen. If you want to change text color, go to “display” and find “String enclosed by single(or double) quotation marks.”
December 4, 2019 at 4:38 pm in reply to: Is it possible to add a description column in the batch replace window? #26437DavidParticipantYes, You said is what I mean.
In fact, I want to post an image to show. But I find the function of this community is different from before. I try to use html tags but it’s not allowed to submit the post.
December 4, 2019 at 4:34 pm in reply to: Software Wish – Improve the function “Combine documents into a single file” #26436DavidParticipantYes, agree with you, we can use “COPY *.txt file3.txt” to do that. The challange is: if tens of files will be combined, the file order is a problem. In Emeditor, there’re UP and DOWN button available, we can move up or move down as requirements. But “COPY *.txt file3.txt” will do by default order (I guess it is according to alphanumber ascending of file name).
Of course, we can use “COPY file3.txt + file1.txt+file9.txt file3.txt……”, but we need more efforts.December 3, 2019 at 5:53 pm in reply to: Is it possible to add a description column in the batch replace window? #26431DavidParticipantYes, I also need this feature. More and more search criteria are added and it’s easy to forget the usage.
I also wish there’s a cloumn to show “row number” ,such as 1,2,3……second column is description.DavidParticipantYes, I tried another few websites. Some of them worked under IE 11 but didn’t work under Chrome (perhaps because of blocking from my Chrome plug-in). Some websites can be “Grabed” and others can’t . I don’t know how to identify them and have to test .
Wish this function can be used at more websites and more positions in future version. - AuthorPosts