Forum Replies Created
- AuthorPosts
Yutaka Emura
KeymasterThank 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.June 26, 2025 at 4:09 pm in reply to: EmEditor uses the old search range for find in the selection #30331Yutaka Emura
KeymasterThe 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.
June 26, 2025 at 4:07 pm in reply to: EmEditor syntax highlighter: Overlap conflict when using Regex Quantifiers #30330Yutaka Emura
KeymasterYour observation is correct: highlighting with regex allows overlapping.
Yutaka Emura
KeymasterPS 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.
June 22, 2025 at 6:55 pm in reply to: document.selection.Find in the selection fails when the selection size is 1 #30306Yutaka Emura
KeymasterWe appreciate your support!
June 22, 2025 at 8:18 am in reply to: document.selection.Find in the selection fails when the selection size is 1 #30304Yutaka Emura
KeymasterThis 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.
June 21, 2025 at 8:48 am in reply to: document.selection.Find in the selection fails when the selection size is 1 #30296Yutaka Emura
KeymasterThe 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);
June 17, 2025 at 9:48 pm in reply to: “Chat with AI” features supporting LM Studio and Deepseek. #30293Yutaka Emura
KeymasterIf 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.
June 13, 2025 at 2:01 pm in reply to: Deleting around backslashes in markdown is sometimes broken. #30282Yutaka Emura
KeymasterI’ve already fixed this issue, and the changes will be included in the next preview version, which I’ll be releasing soon.
Thank you!June 13, 2025 at 10:01 am in reply to: EmEditor syntax highlighter matching priority / precedence: Flawed? #30280Yutaka Emura
KeymasterThis is currently by design, as ” and // are given higher priority than other general highlights.
June 13, 2025 at 9:58 am in reply to: Deleting around backslashes in markdown is sometimes broken. #30279Yutaka Emura
KeymasterHi,
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.
June 10, 2025 at 1:18 pm in reply to: Takes a minute to restore a worskpace with about 20 not large files #30276Yutaka Emura
KeymasterI’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.
May 26, 2025 at 3:47 pm in reply to: EmEditor version 25.1.1 does not remember window size and position #30250Yutaka Emura
KeymasterThis issue will be fixed in EmEditor v25.1.2, which will be released shortly. I am very sorry for any inconvenience.
Yutaka Emura
KeymasterThis issue will be fixed on the next version. Thank you!
Yutaka Emura
KeymasterI’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.
May 5, 2025 at 1:37 pm in reply to: Snippet keyboard shortcuts ignored when the cursor is past the end of the line #30222Yutaka Emura
KeymasterI’ve reproduced the issue, and will fix it on the next version. Thank you!
April 30, 2025 at 11:28 am in reply to: How to show status / progress updates when “Redraw = false;” ? #30219Yutaka Emura
KeymasterThe 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.
February 25, 2025 at 8:26 pm in reply to: Obsolete versions of installer files are not deleted #30180Yutaka Emura
KeymasterThe 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.
January 26, 2025 at 5:57 pm in reply to: Obsolete versions of installer files are not deleted #30172Yutaka Emura
KeymasterIt 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.
December 18, 2024 at 10:50 am in reply to: Macros dont work after Windows 11 Update to version 24H2 #30138Yutaka Emura
KeymasterThe 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.
Yutaka Emura
KeymasterYou 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() ); }
Yutaka Emura
KeymasterHow about the Notepad-Compatible Diary option (File page of configuration properties)?
Yutaka Emura
KeymasterYou 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
Yutaka Emura
Keymaster1) 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.
October 9, 2024 at 3:57 pm in reply to: Check the state of the CSV “read only in column headings” in a macro? #29964Yutaka Emura
KeymasterTo 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.
- AuthorPosts