How to ""chain"" WLX plugins?

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
valexiev
Junior Member
Junior Member
Posts: 29
Joined: 2008-03-31, 09:59 UTC

How to ""chain"" WLX plugins?

Post by *valexiev »

JAD is a java bytecode decomplier that does an excellent work, and I use jad.wlx to view Java class files. However, the text display is pretty ugly.
So I'd like to pass the result to a syntax highlighter such as Syn2 or SynPlus. How can I do that, perhaps with some short script?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

I'd like to pass the result to a syntax highlighter such as Syn2 or SynPlus.
Just press "4" key at lister.
This will choose the next plugin in sequence which can handle this file type.
#5767 Personal license
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I think valexiev is asking for something else. Some Lister plugins perform the task to extract binary data from files of a certain file type. When they have finished this task the need to display it somehow. This is the problem. If these two tasks would be separated there could be an extractor and a renderer part. The challenge here is to provide an interface for formatting information which both parts understand. The extractor part could be added to the content plugin interface. The text extraction functions could already be used to display plain text.

The result would be that the user just selects a renderer in Lister which is used for all file containing (extracted) (formatted) text data.
User avatar
nsp
Power Member
Power Member
Posts: 1917
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Lefteous wrote: The result would be that the user just selects a renderer in Lister which is used for all file containing (extracted) (formatted) text data.
Already in some lister replacement (TC UP) you can select which lister you want next. this is a very useful feature asked in suggestion. But i do not know if it will be implemented in TC 7.5 even if a very simple listbox could do the job !
Post Reply