Forum Replies Created

Viewing 25 posts - 1 through 25 (of 80 total)
  • Author
    Posts
  • 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.

    in reply to: Enclose selected text in specific characters #26216
    David
    Participant

    Go to “properties for current configuration” and activate the wanted brackets, such as (),[],{}………
    In Editor,place the cursor at the first backet and press Ctrl+Shift+] to select the string enclosed in brackets. Here a small GIF.
    http://ys-i.ys168.com/198138914/n6S2X7U2LHJL3Mkeerii/EmEditor%E5%8A%9F%E8%83%BD%E5%8A%A8%E7%94%BB-%E5%BF%AB%E6%8D%B7%E9%94%AE%E9%80%89%E5%8F%96%E6%8B%AC%E5%8F%B7%E4%B8%AD%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2.gif

    in reply to: Match words/phrases between delimiting characters #26205
    David
    Participant

    I guess you missed the first \ character in “replace” .Please see my screenshot. It’s \J ,instead of J.

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