Forum Replies Created

Viewing 25 posts - 1 through 25 (of 3,679 total)
  • Author
    Posts
  • in reply to: Line and word count of highlighted lines #30332
    Yutaka Emura
    Keymaster

    Thank you for bringing this to my attention.
    The character count was correct because it included newlines (CR+LF) when the “Always insert newlines when copying multiple selections” option is enabled on the Edit page in Customize. However, I will change this behavior in the next version. The word and line counts will also be fixed in the next version.

    Yutaka Emura
    Keymaster

    The previous requirement to select multiple lines before clearing the search range was intentional. However, I will modify this behavior as per your request in the next update.

    Yutaka Emura
    Keymaster

    Your observation is correct: highlighting with regex allows overlapping.

    in reply to: Line and word count of highlighted lines #30324
    Yutaka Emura
    Keymaster

    PS Though, I’d suggest to first wait for Yutaka’s opinion on whether this is intended or rather an oversight that will be fixed in one of the next updates.

    Could you clarify the issue/question? Thank you.

    Yutaka Emura
    Keymaster

    We appreciate your support!

    Yutaka Emura
    Keymaster

    This basically means that finding in a one character selection fails with both the search dialogue and the macro:

    That’s because the selection exactly matches the search string. In this case, the command tries to find the next occurrence, but since there isn’t one, the search fails.

    Yutaka Emura
    Keymaster

    The dialog box includes a Count Matches option. To achieve the same result in your macro, make sure to include the eeFindCount flag.
    Using the macro below will give you the same outcome:

    
    nFound = document.selection.Find("d", eeFindNext | eeFindReplaceSelOnly | eeFindCount);
    
    Yutaka Emura
    Keymaster

    If you use the installer version of EmEditor, you can first install EmEditor v25.1.4 with the ChatAI plugin. Then, select “Check for Updates” from the Help menu in EmEditor and check the “Include preview versions” option. This will update both EmEditor and the ChatAI plugin.

    If you need the portable version, you can download the ChatAI plugin v25.1.903 at:

    https://download.emeditor.info/chatai/chatai64_25.1.903_portable.zip

    Note that you will also need to download and install EmEditor v25.1.903 from https://support.emeditor.com/en/downloads.

    Yutaka Emura
    Keymaster

    I’ve already fixed this issue, and the changes will be included in the next preview version, which I’ll be releasing soon.
    Thank you!

    Yutaka Emura
    Keymaster

    This is currently by design, as ” and // are given higher priority than other general highlights.

    Yutaka Emura
    Keymaster

    Hi,

    I decoded your hex string and was able to reproduce the deletion issue. I’ll look into what’s causing it, but please note that I’m not aiming to create a perfect Markdown editor. If you run into problems like this again, I recommend turning off the Markdown Design View mode.

    Yutaka Emura
    Keymaster

    I’m unable to reproduce the issue on my end. Are you using the latest version of EmEditor?

    Also, how are you restoring your workspace? Sometimes, if there’s an EmEditor window open with a popup dialog, it can prevent other windows from responding for about 10 seconds. Please make sure all EmEditor windows are closed before restoring a workspace.

    Yutaka Emura
    Keymaster

    This issue will be fixed in EmEditor v25.1.2, which will be released shortly. I am very sorry for any inconvenience.

    in reply to: Outline Bar position #30244
    Yutaka Emura
    Keymaster

    This issue will be fixed on the next version. Thank you!

    in reply to: Where are bookmarks stored? #30233
    Yutaka Emura
    Keymaster

    I’m not sure I understand your question, but bookmarks can’t be shared across multiple EmEditor installations. If this doesn’t answer your question, please clarify.

    Yutaka Emura
    Keymaster

    I’ve reproduced the issue, and will fix it on the next version. Thank you!

    Yutaka Emura
    Keymaster

    The status bar won’t be refreshed if Redraw is set to false, which is how the Redraw property is designed to function. If you need to display the status bar, temporarily change Redraw to true, and then switch it back to false when you’re done.

    in reply to: Obsolete versions of installer files are not deleted #30180
    Yutaka Emura
    Keymaster

    The latest version (24.9.902) automatically deletes older installers from the downloads folder during updates, with no option to keep them.

    While I advise always using the latest version, if you need to download older versions, you can copy a link from this page (https://support.emeditor.com/en/downloads) and try modifying the version number in the URL.

    in reply to: Obsolete versions of installer files are not deleted #30172
    Yutaka Emura
    Keymaster

    It sometimes becomes useful to keep old installers. As I wrote in our FAQ (https://www.emeditor.com/support/ – No. 6.), if the error message that says “The feature you are trying to use is on a network resource that is unavailable.” appears while trying to update or install EmEditor, first locate the installer of the previous version. The installer of the previous version can be found in one of the C:\ProgramData\Emurasoft\EmEditor\updates\update… folders.

    However, if you are sure you don’t need old versions, you can safely remove those files. I could add an option to remove old versions of installers in future versions.

    in reply to: Macros dont work after Windows 11 Update to version 24H2 #30138
    Yutaka Emura
    Keymaster

    The JScript problem with the updated Windows 11 should be resolved in the latest version of EmEditor. I highly recommend updating to this version. Alternatively, you can download a portable version to see if it solves the issue.

    in reply to: Insert Date Time Formating #30135
    Yutaka Emura
    Keymaster

    You can easily do this with a macro. First, create a macro similar to the one below (based on Patrick C’s work) and save it under a name like “WriteDateTime.jsee”.

    Go to the Macros menu, select “Customize,” and navigate to the “My Macros” page. Make sure the macro you just saved appears in the “My Macros” list. If it doesn’t, click the “Add” button to include it. Once added, select the macro, click on “Runs at Events,” and then click the “Events” button. In the “Select Events” dialog, ensure that “File Opened” is enabled.

    
    // Inspired by & resources
    //   https://www.emeditor.com/forums/topic/option-to-adjust-the-datetime-format-edit-insert-time-and-date/
    //   https://www.emeditor.com/forums/topic/insert-long-date/
    //   https://www.w3schools.com/jsref/jsref_tolocaledatestring.asp  +  jsref_getmonth.asp  + jsref_getdate.asp
    
    function return_date_long_time() {
      var date = new Date();
      // var n = d.toLocaleDateString();   // old approach - unreliable
    
      // Date assembly
      var dd   = date.getDate();           // returns the day of the month (from 1 to 31)
      if( dd < 10 )  dd = "0" + dd;
    
      var MM   = date.getMonth() + 1;      // returns the month (from 0 to 11)!
      if( MM < 10 )  MM = "0" + MM;
    
      var yyyy = date.getFullYear();       // Returns the year (4 digits)
    
      // time assembly
      var hh = date.getHours();            // Returns the hour (from 0-23)
      if( hh < 10 )  hh = "0" + hh;
      var mm = date.getMinutes();          // Returns the minutes (from 0-59)
      if( mm < 10 )  mm = "0" + mm;
      var ss = date.getSeconds();          // Returns the seconds (from 0-59)
      if( ss < 10 )  ss = "0" + ss;
    
      // “Output”
      return( yyyy + "-" + MM + "-" + dd + " " + hh + ":" + mm + ":" + ss );
    }
    
    if( document.GetLine( 1 ) == ".LOG" ) {
        document.selection.EndOfDocument();
        document.writeln( "" );
        document.writeln( return_date_long_time() );
    }
    
    in reply to: Insert Date Time Formating #30095
    Yutaka Emura
    Keymaster

    How about the Notepad-Compatible Diary option (File page of configuration properties)?

    in reply to: EmEditor v24.4 preview (24.3.901-) #30092
    Yutaka Emura
    Keymaster

    You can install EmEditor without needing an internet connection, even if you’re doing a silent installation. However, if you need to register the product during installation, an internet connection is usually required. But don’t worry, we offer an offline registration option. For more details, please visit: https://www.emeditor.org/en/howto/offline_registration/index.html

    in reply to: A issue regarding “Replace in Files” on V24.4 #30082
    Yutaka Emura
    Keymaster

    1) the Find in Files regex search will fall back to an escape sequence search when the search term does not contain at least one regular expression token
    2) escaped regular expression tokens as in \{ , are no longer identified as regular expression tokens, with Find in Files then performing an escape sequence type search.

    These are indeed correct. Thank you for sharing your insightful observations.

    Yutaka Emura
    Keymaster

    To turn off CSV “read only in column headings” in a macro, you can run this macro.

    
    nID = 3900;
    nStatus = editor.QueryStatusByID( nID );
    if( nStatus & eeStatusEnabled ) {
        bAlreadyOn = ( nStatus & eeStatusLatched );
    
        // turn off the Read Only in Column Headings
        if( bAlreadyOn ) {
            editor.ExecuteCommandByID(nID);
        }
    
        // turn on the Read Only in Column Headings
        //if( !bAlreadyOn ) {
        //    editor.ExecuteCommandByID(nID);
        //}
    }
    

    To turn it on, please uncomment the last 3 lines.

Viewing 25 posts - 1 through 25 (of 3,679 total)