Closed KOLANICH closed 6 years ago
I think it depends on javascript engine implementation in Wine. Can you check this please!
Can you check this please!
What do you mean by "this"?
if scripting engine exists for x64 on Wine. I do not use Linux, I cannot verify it.
WSH works (at least cscript.exe
, though a bit silently - no error messages are shown if there are errors). jN (both x86_64 and x86) doesn't.
How about dropping this WSH entirely and using embeddable node.js used in Atom editor for JS plugins instead? It seems that ActiveX objects can be used in node with the help of node-win32ole.
Is it possible that cscript.exe runs as win32 application in wine environment? If so then you have to run win32 version of npp with x86 verision of jn.dll.
You are right. Today if I would have to decide which engine I want to use I would take V8. But today there are a lot other good Editors like Visual Studio Code using V8. VSC has huge growing community and support from Microsoft side. It would be waste of time if I would begin to integrate V8 into Npp :-(.
I like N++ as fast and "lightweight" text editor with nice scripting API via jN.
VSC has huge growing community and support from Microsoft side. But today there are a lot other good Editors like Visual Studio Code using V8. VSC has huge growing community and support from Microsoft side. It would be waste of time if I would begin to integrate V8 into Npp :-(.
If VSC a replacement for NPP, it means that NPP is not needed. But VSC is not. VSC is a memory-hungry yet another Electron app with integrated surveillance. So NPP is needed. Maybe there is a need in something like WebExtension, but for text editors.
Also, I have some ideas about embedding JS engines. This particular idea was inspired by your plugin. If you decided to change a JS engine, it may worth to implement it first.
I use x64 edition, gecko is installed. The only visible effect of your plugin is addition of its submeny into Plugins menu. Everything implemented in JS is missing.