- Add .dpl => application/x-decl to EXT_MIME in Padre::MimeTypes.pm (patch)
- Create a Padre::Plugin::Decl.pm
- There, registered_documents can assign x-decl to Padre::Document::Decl.pm
- Create Padre::Document::Decl.pm
The Plugin module handles general UI stuff (menus, About, special tools, etc.) while the Document module customizes the editor's behavior to suit you. I'm particularly interested in folding - but so far the documentation is really chaotic.
I've got about ten windows open on this task:
- Gábor's overview of wxPerl and wxWidgets
- Somebody's cookbooks for plugins. I find these cookbooks essentially impenetrable.
- Padre::Plugin, Padre::Document, Padre::Document::Perl, Perl::MimeTypes
- Another how-to on plugins
No comments:
Post a Comment