简体   繁体   English

是否可以为 EditPlus 制作一个 DLL 插件来像 EditPlug 或 Notepad++ 一样扩展编辑器?

[英]Is it possible to make a DLL plugin for EditPlus to extend the editor like in EditPlug or Notepad++?

Is it possible to make a DLL plugin for the programming editor called EditPlus?是否可以为名为 EditPlus 的编程编辑器制作 DLL 插件?

I wish to extend the editor like in EditPlug text editor or Notepad++ where you create a DLL which allows you to talk to the editor.我希望像在 EditPlug 文本编辑器或 Notepad++ 中一样扩展编辑器,您可以在其中创建一个允许您与编辑器对话的 DLL。 Or another example is Total Commander where you create a DLL to talk to the program from your own code in delphi or visual c++, or any program that can create a windows DLL.或者另一个例子是 Total Commander,您可以在其中创建一个 DLL 以从您自己的 delphi 或 Visual C++ 代码或任何可以创建 Windows DLL 的程序中与程序对话。

Or is there NO way to make a plugin in Editplus because they have not implemented a plugin system?还是没有办法在Editplus中制作插件,因为他们没有实现插件系统?

I do not see any kind of plugin architecture mentioned in EditPlus's feature list .我在 EditPlus 的功能列表中没有看到任何类型的插件架构。 If it does not expose a plugin API, then you cannot write a plugin for it.如果它没有公开插件 API,那么你就不能为它编写插件。 All you can do is create a DLL that is injected into EditPlus's address space by an external process and then uses OS API calls to directly manipulate EditPlus's UI and raw memory as needed.您所能做的就是创建一个 DLL,该 DLL 被外部进程注入到 EditPlus 的地址空间,然后根据需要使用 OS API 调用直接操作 EditPlus 的 UI 和原始内存。

EditPlus 没有插件系统,因此您无法以任何方式扩展。

EditPlus has no plugin system! EditPlus没有插件系统!

In EditPlus, You can only use Text Filter to do something like plugins do.在 EditPlus 中,您只能使用文本过滤器来执行插件所做的事情。

Text Filter can execute script file or executable file.文本过滤器可以执行脚本文件或可执行文件。 You can use perl, java, python, vbscript, javascript or command line application which support standard input and standard output to write and run as a text filter.您可以使用支持标准输入和标准输出的 perl、java、python、vbscript、javascript 或命令行应用程序来编写和运行作为文本过滤器。

Text Filter only can change the text content in the editor area.文本过滤器只能更改编辑器区域中的文本内容。

I'll be very glad if a real plugin system come with EditPlus.如果 EditPlus 附带真正的插件系统,我会非常高兴。

See also:也可以看看:

Writing a text filter for EditPlus为 EditPlus 编写文本过滤器

Some Text Filters for EditPlus EditPlus 的一些文本过滤器

yes it is possible.对的,这是可能的。 it's hard (..not so very hard..but still) i explain in here the possibility to extend Editplus with php这很难(..不是很困难..但仍然)我在这里解释了用 php 扩展 Editplus 的可能性

https://stackoverflow.com/a/61254718/5781320 https://stackoverflow.com/a/61254718/5781320

i see this cause i lookin' for other simplest methods than mine.(just by curiosity and fun) .. i wrote the fastest php framework in the world and I will glad to make it "talk" with editplus我看到这个是因为我在寻找其他最简单的方法而不是我的。(只是出于好奇和乐趣)..我写了世界上最快的 php 框架,我很高兴让它与 editplus“交谈”

There is possible to compile servers in PUREBASIC.com to interact with applications Android in b4a=open source now (b4x.com) that suppose to interact with google speech recognition so yes is possible to talk from your phone to the server dll or exe to interact with editplus,total commander,and many other stuff.可以在 PUREBASIC.com 中编译服务器以与现在 b4a=open source (b4x.com) 中的应用程序 Android 交互,这些应用程序假设与谷歌语音识别交互,因此可以从您的手机与服务器 dll 或 exe 对话与editplus、总指挥官和许多其他东西互动。 I did it myself cause i was curious if had delay.我自己做的,因为我很好奇是否有延迟。 EditPlus hasn't the direct possibility , Notepad++ does and on https://www.purebasic.fr/english/viewtopic.php?f=12&t=65680&hilit=notepad+plugin with the same purebasic i use on that notepad++ version work that pugin can be modiffied how you like to be .On actual version of notepad++ i tryed myself doesn't work : the plugin is obsolete and is rejected so witch method you choose is hard to implement the system you need int this dynamic expansion of open source / or developing. EditPlus 没有直接的可能性,Notepad++ 确实和在https://www.purebasic.fr/english/viewtopic.php?f=12&t=65680&hilit=notepad+plugin 上使用相同的 purebasic 我在那个记事本 ++ 版本上使用的 pugin可以根据自己的喜好进行修改。在记事本++的实际版本上,我自己尝试过不起作用:该插件已过时并被拒绝,因此您选择的女巫方法很难实现您需要的系统,这是开源的动态扩展/或发展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM