Proposal for Lister API: plugin capabilities

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Proposal for Lister API: plugin capabilities

Post by *Alextp »

I suggest to give function which Lister plugs can support. Get plugin capabilities. And we have many constants which plugin can set:

ListPluginCap_ is good prefix. Consts:

- plugin supports jump in text by percent 0..100, show % menuitem
- plugin reacts to word wrap menuitem
- plugin reacts to copy/ select-all menuitems
- plugin supports Find (maybe add const for custom Find dialog)
- plugin reacts to Ansi/Ascii enc change
- enable Encodings menu for plugin and give him enc value

!!
- plugin supports Lister window mode
- plugin supports QuickView mode
....etc

If plugin don't have new function, use default set of caps (most values On, only Encodings menu is off).
Post Reply