EmEditor (Text Editor) https://www.emeditor.com Best Text Editor, Code Editor, CSV Editor, Large File Viewer for Windows (Free versions available) Wed, 07 Aug 2024 04:18:37 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 EmEditor v24.3.2 released https://www.emeditor.com/emeditor-core/emeditor-v24-3-2-released/ Wed, 07 Aug 2024 04:18:36 +0000 https://www.emeditor.com/?p=29900 Today, we are releasing EmEditor v24.3.2.

v24.3.2 includes customer reported bug fixes. Please make sure to always update to the latest version for stable operations.

If you use the Desktop Installer version, you can select Check for Updates on the Help to download the newest version. If this method fails, please download the newest version, and run the downloaded installer. If you use the Desktop portable version, you can go to the Download page to download the newest version. The Store App versions can be updated through Microsoft Store (64-bit or 32-bit) after a few days.

]]>
Reply To: Native Linux support https://www.emeditor.com/forums/reply/29899/ Tue, 06 Aug 2024 02:43:41 +0000 https://www.emeditor.com/forums/reply/29899/ Can anyone tell me the current status of EmEditor and CrossOver?

The last compatibility test that EmEditor had with CrossOver Linux was in March 2022, about 2 and a half years ago.
https://www.codeweavers.com/compatibility/crossover/emeditor

What has been the results with different types of Windows bottles? Please recommend or advise.

]]>
V8 Engine: Is there a way to reduce the code execution delay? https://www.emeditor.com/forums/topic/v8-engine-is-there-a-way-to-reduce-the-code-execution-delay/ Sun, 04 Aug 2024 17:35:59 +0000 https://www.emeditor.com/forums/topic/v8-engine-is-there-a-way-to-reduce-the-code-execution-delay/ Yutaka outlined that the V8 engine can be slower than JScript.
EmEditor Blog January 25, 2023
EmEditor Blog December 6, 2022

My testing showed that this is due to a delay until the V8 engine starts executing code.
The V8 engine is fast once it runs, in some cases extremely fast when compared to JScript.

Delay between call (execute macro) and the actual execution:
JScript ≈ 2ms
V8 ≈ 680ms

Execution time (calculated pi over 2’000’000 iterations):
JScript ≈ 1460ms
V8 ≈ 35ms

Curiosity Question:
What causes this delay?
V8 “JIT compiling” the code?
→ As outlined in
https://cabulous.medium.com/how-v8-javascript-engine-works-5393832d80a7

The reason for asking, is that the delay makes the V8 engine unsuited when a fast reaction is required.

PS If someone really wants to see the code … 😳

]]>
V8 Engine Error: “V8 nesting issues occurred” https://www.emeditor.com/forums/topic/v8-engine-error-v8-nesting-issues-occurred/ Sun, 04 Aug 2024 14:46:41 +0000 https://www.emeditor.com/forums/topic/v8-engine-error-v8-nesting-issues-occurred/ V8 nesting issues occurred error message
Exception number

Caused by a V8 macro executing a second V8 macro synchronously.

Example code:

#language = "V8"
#async = "off"
editor.ExecuteMacro("runner.jsee", eeRunFile | eeMacroSyncOnly);

executes

#language = "V8"
#async = "off"
OutputBar.writeln("Hi there I’m runner!");

Removing the eeMacroSyncOnly flag does not raise an error but I`ll end up in a race condition. My application requires the first macro to wait until the second macro ends.

What works and doesn’t is:
✔️ JScript executing JScript synchronously
✔️ JScript executing V8 synchronously
✔️ V8 executing JScript synchronously
❌ V8 executing V8 synchronously 😞

Question:
Is there an alternative way to wait for the second script to end (e.g. a semaphore)?

Note that for my particular application #include is not an option.

]]>
Reply To: Modifier key (ctrl alt shift) is / was pressed? https://www.emeditor.com/forums/reply/29896/ Sat, 03 Aug 2024 17:27:56 +0000 https://www.emeditor.com/forums/reply/29896/ I just realised that this also allows querying the Num, Caps and Scroll lock states 🙂🙃😃

let iScrollState = 0;

iScrollState = shell.GetKeyState(0x91);

if(iScrollState === 1) {
    alert("Scroll Lock is enabled");
} else if(iScrollState === 0 ) {
    alert("Scroll Lock is disabled");
} else if(iScrollState === -127) {
    alert("Scroll Lock is enabled and its key is down, i.e. pressed");
} else if(iScrollState === -128) {
    alert("Scroll Lock is disabled and its key is down, i.e. pressed");
} else {
    alert("Unexpected Scroll Lock state:" + iScrollState);
}

🙏 🙇

]]>
License Price Update https://www.emeditor.com/general/license-price-update-2/ Thu, 01 Aug 2024 22:56:35 +0000 https://www.emeditor.com/?p=29895 We haven’t changed the price of an annual subscription since August 2022. However, due to rising costs, we need to adjust the price to sustain development and continue providing quality services to our customers. Therefore, starting August 28, 2024, we will increase the price of an annual subscription license from $40.00 to $48.00. Volume license prices will also be adjusted accordingly.

As previously announced, we will stop selling lifetime licenses on August 28, 2024. Additionally, the renewal price after the first year will increase from the current 50% of the first-year price to 75%, effective on August 28, 2024. If you plan to use EmEditor Professional long-term, you can save by purchasing lifetime licenses now. Alternatively, if you have subscription licenses, you can renew your subscription at the current price before August 28, 2024, without changing the expiration date.

Please also see how to calculate the number of licenses.

We will continue to develop EmEditor and provide support to our customers.

Thank you for using EmEditor!

]]>
Reply To: Native Linux support https://www.emeditor.com/forums/reply/29882/ Sun, 07 Jul 2024 16:58:57 +0000 https://www.emeditor.com/forums/reply/29882/ I use Wine on debian12, emeditor 23 works, but not 24. MSi works

]]>
Reply To: UTF32 https://www.emeditor.com/forums/reply/29880/ Wed, 03 Jul 2024 12:08:03 +0000 https://www.emeditor.com/forums/reply/29880/ In an ideal world I also could directly open, edit and save the utf32 file, without converting it back and forth but I think this would require native 32 bit text support which I guess is currently not available. Can anyone confirm this?

Thanks!

]]>
Reply To: UTF32 https://www.emeditor.com/forums/reply/29879/ Wed, 03 Jul 2024 11:51:39 +0000 https://www.emeditor.com/forums/reply/29879/ Hi Patrick,

Thanks for your help. Sure, this possibility gladly always exists, a simple script could solve it too. It would just be easier, if EmEditor could already save it in the proper required format. Or is there a plugin available for that? Otherwise I’ll go down one of the roads, discussed before.

Thanks!

]]>
Reply To: UTF32 https://www.emeditor.com/forums/reply/29878/ Wed, 03 Jul 2024 11:32:06 +0000 https://www.emeditor.com/forums/reply/29878/ I once had a similar problem and resorted to PowerShell:
Get-Content .\my_UTF8_file.txt | Set-Content -Encoding utf32 my_UTF32_file.txt
or
Get-Content .\my_UTF16_file.txt | Set-Content -Encoding utf32 my_UTF32_file.txt

Kudos to https://superuser.com/questions/1163753/converting-text-file-to-utf-8-on-windows-command-prompt
+ reference https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content?view=powershell-7.4#-encoding

]]>