Forum Replies Created

Viewing 25 posts - 1 through 25 (of 82 total)
  • Author
    Posts
  • in reply to: A issue regarding “Replace in Files” on V24.4 #30084
    David
    Participant

    Hello Patrik C
    Your explanation are so detailed , now it’s clear.

    in reply to: A issue regarding “Replace in Files” on V24.4 #30071
    David
    Participant

    Hello 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. Also img {\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?
    in reply to: Active String: Add control modifier #29767
    David
    Participant

    Yeah, 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?

    in reply to: How to convert epoch seconds to human-readable time? #29527
    David
    Participant

    Thanks for sharing experience.

    in reply to: How to convert epoch seconds to human-readable time? #29525
    David
    Participant

    Please try by using Find & Replace function:
    Find: \d+
    Replace: \J new Date(‘\0’)

    in reply to: Single column with JSON data parsing #29478
    David
    Participant

    Yes. 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.url

    See the screenshot.

    in reply to: Wish to have the function “Combine lines”! #28801
    David
    Participant

    Yes, these two functions are exactly what I expected. Thanks!

    David
    Participant

    Thank you for your information.I will try and feedback.

    in reply to: Sort left to right #28694
    David
    Participant

    There’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.

    in reply to: Is conditional replacement possible in EmEditor? #28365
    David
    Participant

    I 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,”я”)

    in reply to: Is conditional replacement possible in EmEditor? #28360
    David
    Participant

    Your 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

    in reply to: Is conditional replacement possible in EmEditor? #28357
    David
    Participant

    Would you please try the following:
    Search: [A-D]
    Replace: \J if(“\0″==”A”){“alpha”;}else if(“\0″==”B”){“beta”;}else{“three”;}

    in reply to: Is conditional replacement possible in EmEditor? #28355
    David
    Participant

    For 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
    3

    Search: \d
    Replace: \J if(\0==1){“one”;}else if(\0==2){“two”;}else{“three”;}

    in reply to: Question of Funtion "Grab Text" #28016
    David
    Participant

    Mark this post. It still is my wish list.

    in reply to: The right-click menu of ruler is too long #26703
    David
    Participant

    Hello, 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!
    screenshot

    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!

    David
    Participant

    Yes, 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&gt;

    David
    Participant

    Yes, 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&gt;

    David
    Participant

    I 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&gt;

    in reply to: EmEditor v21.0 beta 2 (20.9.902) #27629
    David
    Participant

    Hello, 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……

    in reply to: monitor clipboard feature #27305
    David
    Participant

    Does this function exist in latest EmEditor version? It will give great help while copying many contents from other place.

    David
    Participant

    Hello, @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.”

    David
    Participant

    Yes, 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.

    David
    Participant

    Yes, 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.

    David
    Participant

    Yes, 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.

    in reply to: Question of Funtion "Grab Text" #26270
    David
    Participant

    Yes, 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.

Viewing 25 posts - 1 through 25 (of 82 total)