Now you can also easily write your own plugins for Puredit. Puredit automaticly examines the "Plugins" directory and loads all "legal" DLLs(Dynamic Linked Libraries) at each start. The DLLs must contain the following functions:
name() | must return the name of the plugin(string) |
about() | optional function must return the author's name(string) |
description() | optional function must return a description for the plugin(string) |
plugin(Long hwnd,Long scid,Char scifile,Char scitext) | hwnd: OS-handle of the Puredit main window scid: handle of the current Scintilla-control (Visit http://scintilla.org to learn more about Scintilla) scifile: name of the current file(will be an empty string if the file does not exist) scitext: content of the current Scintilla-control |