Simple plugins such as terminal (probably based on xfce4-terminal) and file browser pane.
There was some comments about plugins a while ago: https://bugzilla.xfce.org/show_bug.cgi?id=11097#c3 I'm not sure mousepad goal is to become a swiss army knife/text editor like many others, it's "mission" is to be lightweight and allow the user to do quick edits. But with a plugin system, the stock mousepad can remain as simple as it is right now and allowing users/plugin devs to use/create anything they wish. Matt, you said you had a local branch with this implementation, but is it complete? If not, what is not? Would care to share it on github maybe?
(In reply to André Miranda from comment #1) > There was some comments about plugins a while ago: > https://bugzilla.xfce.org/show_bug.cgi?id=11097#c3 > I'm not sure mousepad goal is to become a swiss army knife/text editor like > many others, it's "mission" is to be lightweight and allow the user to do > quick edits. But with a plugin system, the stock mousepad can remain as > simple as it is right now and allowing users/plugin devs to use/create > anything they wish. > > Matt, you said you had a local branch with this implementation, but is it > complete? If not, what is not? Would care to share it on github maybe? I don't remember exactly how complete it was. I think I just got it able to load plugins using the GTK+ widgets that come with libpeas, but not exposing any interfaces. I'll try and see if I can find it, I think it's on the hard drive in my old computer that died. There's two issues I see with libpeas though; the first is that it requires a fair bit of work to develop plugins (in C), and to expose interfaces, since it uses lots of GObject stuff, and the second is that it's rather liberal about keeping with recent GLib/GObject/GTK+ dependencies and so it would probably require to bump Mousepad's dependencies to follow along. Another option is to just do a simple GModule/dlopen loader where the plugins (written only in C) would just give the loader some function pointers to call into it, and then exposing all the existing Mousepad headers as the API, and let plugins do whatever they want. I'm still not 100% sure plugins are good idea for Mousepad though, as you mentioned. Maybe if there was lots of demand or something.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/mousepad/-/issues/20. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev