Forum Replies Created

Viewing 25 posts - 26 through 50 (of 3,699 total)
  • Author
    Posts
  • 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.

    in reply to: Markdown previewer #29934
    Yutaka Emura
    Keymaster

    EmEditor v24.4 preview (24.3.901-) introduced a Markdown design view that offers a near-WYSIWYG experience for editing Markdown files.

    https://www.emeditor.com/forums/topic/emeditor-v24-4-preview-24-3-901/

    in reply to: want to indent block by one column #29869
    Yutaka Emura
    Keymaster

    As I wrote on February 25, 2009, please write like this:

    
    cfg = Document.Config;
    cfg.Indent.IndentColumns = 1;
    cfg.Save();
    

    Your example should be:

    
    cfg = Document.Config;
    var oldIC = cfg.Indent.IndentColumns;
    var oldTC = cfg.Indent.TabColumns;
    var oldMr = cfg.General.MarginNormal;
    
    cfg.Indent.IndentColumns = 1;
    cfg.Indent.TabColumns = 1;
    cfg.General.MarginNormal = oldMr - 8;
    cfg.Save();
    
    alert("Indent size changed from " + oldIC + " to " + cfg.Indent.IndentColumns +
          ", tab size changed from " + oldTC + " to " + cfg.Indent.TabColumns +
          ", margin changed from " + oldMr + " to " + cfg.General.MarginNormal + ", and config saved.");
    
    cfg.General.MarginNormal = oldMr;
    cfg.Indent.IndentColumns = oldIC;
    cfg.Indent.TabColumns = oldTC;
    cfg.Save();
    
    in reply to: want to indent block by one column #29865
    Yutaka Emura
    Keymaster

    Hello,

    Could you please summarize your issue as if you were writing about it for the first time? Provide an example to clarify the problem. Include both the current behavior and the expected behavior. You may also post or send screenshots to help explain the issue. Please include only the relevant information. Thank you.

    in reply to: Problems installing latest version #29826
    Yutaka Emura
    Keymaster

    Hello harryray,

    EmEditor v24.2 ends support for per-computer installations. Please uninstall the current version (per-computer) before installing the new version (per-user installation).

    After you uninstall the old version, if you need to change the installation folder, please see FAQ: How do I change the install folder?

    https://www.emeditor.com/faq/installation-faq/how-can-i-change-the-install-folder/

    Alternatively, using the portable version can also help avoid problems. By default, the portable version creates INI files in the same folder as emeditor.exe to save settings. In the new version, settings can be saved to other folders by editing the eeUseIni.ini file located in the same folder as emeditor.exe. For example, if you change the eeUseIni.ini file as follows and save it in UTF-16LE (with BOM), the settings will be saved in the folder C:\Users\(username)\EmEditorSettings.

    
    [IniDir]
    IniDir=%UserProfile%\EmEditorSettings
    

    This method allows all users to share the app while having their own settings, similar to installing EmEditor per computer.

    I wrote about it in my blog: https://www.emeditor.com/emeditor-core/emeditor-v24-2-0-released-gpt-4o-as-default-model-disable-ai-completely-for-admin-favorites-features/

    in reply to: Problems installing latest version #29825
    Yutaka Emura
    Keymaster

    Hello Mark,

    When you uninstall, you will have an opportunity to save the current settings, where you can answer YES to save the current settings. After you install the new version (per-user installation), you will see your old settings. You don’t need to export and import the current settings before you uninstall. Nevertheless, I recommend that you export the current settings to the Registry just in case you need to restore them later.

Viewing 25 posts - 26 through 50 (of 3,699 total)