
Step-by-Step Tutorial for Developing Custom Plugins in EmEditor

Step-by-Step Tutorial for Developing Custom Plugins in EmEditor
Viewing 4 posts - 1 through 4 (of 4 total)
- Author
Posts - March 1, 2008 at 2:38 pm #5521
Passiday
Participant
Hello,
Is there any tutorial “How to cook your own plugin for EmEditor”? Being C# developer, I find it hard to grasp the programming of plugins in C by looking on the sources of existing samples available here for download. I’d be happy to see some sort of “basic plugin example” that would be good start, and then learn how it can be extended and also understand what are the limitations in interoperability between EmEditor and the plugin – what kind of features are acutally possible, and what not.
As I have previously said, I’d like to get a plugin that would be a floating window with embedded browser, that could be loaded with local or external URL. The JavaScript in the loaded HTML could have access to the EmEditor DOM, and vice-versa – the EmEditor macros could have access to the loaded window’s DOM. To my opinion, that would be like sacred grale – DHTML interface to build visually-enhanced mini-applications to enhance the functionality of basic EmEditor.
March 2, 2008 at 1:33 am #5523Yutaka Emura
KeymasterPassiday wrote:
Hello,Is there any tutorial “How to cook your own plugin for EmEditor”? Being C# developer, I find it hard to grasp the programming of plugins in C by looking on the sources of existing samples available here for download. I’d be happy to see some sort of “basic plugin example” that would be good start, and then learn how it can be extended and also understand what are the limitations in interoperability between EmEditor and the plugin – what kind of features are acutally possible, and what not.
As I have previously said, I’d like to get a plugin that would be a floating window with embedded browser, that could be loaded with local or external URL. The JavaScript in the loaded HTML could have access to the EmEditor DOM, and vice-versa – the EmEditor macros could have access to the loaded window’s DOM. To my opinion, that would be like sacred grale – DHTML interface to build visually-enhanced mini-applications to enhance the functionality of basic EmEditor.
Unfortunately, there is no “basic plugin example”, but there are a number of source code available at http://www.emeditor.com/modules/mydownloads/viewcat.php?cid=6 and some are very basic, especially “Word Count plug-in” might be a first one to look at. However, unfortunately, EmEditor DOM is not exposed for other applications, partly because EmEditor wants to be light-weighted.
March 3, 2008 at 9:16 am #5531Passiday
Participant
EmEditor DOM is not exposed for other applications
I am not very competent in Windows C application programming, so my question might appear stupid… I was under impression that everything (well, almost) that user can do with EmEditor interface – is possible via macros. The plugins allow to add things like extra windows and extra controls on the existing window (like expand-collapse buttons of the outline plugin). The plugins seem to have ver integrated way of communication with base EmEditor. I am very surprised to hear that there could not be a plugin that sends a “mini macro command” to base EmEditor for execution, and gets a value in return. But what do I know, maybe that requires extensive reprogramming and extra memory load. I’d say that exposing the DOM would allow to stop doing duplicate work with supporting similar range of functions for macros and plugins.
March 3, 2008 at 5:40 pm #5538Yutaka Emura
Keymaster
Passiday wrote:EmEditor DOM is not exposed for other applications
I am not very competent in Windows C application programming, so my question might appear stupid… I was under impression that everything (well, almost) that user can do with EmEditor interface – is possible via macros. The plugins allow to add things like extra windows and extra controls on the existing window (like expand-collapse buttons of the outline plugin). The plugins seem to have ver integrated way of communication with base EmEditor. I am very surprised to hear that there could not be a plugin that sends a “mini macro command” to base EmEditor for execution, and gets a value in return. But what do I know, maybe that requires extensive reprogramming and extra memory load. I’d say that exposing the DOM would allow to stop doing duplicate work with supporting similar range of functions for macros and plugins.
Thanks for inputs! I was not accurate in my previous reply. Actually a plug-in can be used as a communication layter between EmEditor DOM and outside applications if someone writes that plug-in. At any events, it is not very easy. I hope I clarified my points. - Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Also read:
- [New] In 2024, Mastering Bio Link Addition on TikTok
- [Updated] Decoding the Intelligent Shooting Methods of Auto, 3 & 4 HDR for 2024
- [Updated] How to Secure Free FCP Software for 2024
- [Updated] In 2024, Achieving the Pinnacle of Color Accuracy in 11 Crucial Edits
- 「意外な簡単!ファイルが消えたあとでも、どうやってデータを救える?」
- Come Migrare Dal Tuo Hard Disk Al SSD Senza La Necessità Di Ripristinare Il Desktop?
- Enregistrer Des Photos Sur iPhone À L'aide D'un HDD Extern Au Sous Windows 11 Ou 10 - Guide Complet
- In 2024, Hassle-Free Ways to Remove FRP Lock from Infinix Smart 8 Pro Phones with/without a PC
- In 2024, Pokemon Go Error 12 Failed to Detect Location On Poco M6 5G? | Dr.fone
- Keep Your Work Consistently Updated with Easy OneDrive Automatic Refresh Tips for Windows Users
- Qualcomm Atheros Bluetooth Not Working? Here's How to Solve It in Windows 10
- Reviving Lost Photoshop Projects: A Step-by-Step Guide
- Win11 ClearView: Resolving Fuzzy Displays
- Title: Step-by-Step Tutorial for Developing Custom Plugins in EmEditor
- Author: Robert
- Created at : 2025-03-05 19:48:01
- Updated at : 2025-03-07 21:08:56
- Link: https://win-brilliant.techidaily.com/step-by-step-tutorial-for-developing-custom-plugins-in-emeditor/
- License: This work is licensed under CC BY-NC-SA 4.0.