Task #3460

macro, improve corpus view selection / editor link

Ajouté par Serge Heiden il y a presque 2 ans.

Statut:New Début:13/10/2023
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Macros Temps passé: -
Version cible:TXM 0.8.4

Description

Currently some macros working on some results need a selection of an editor to run requiring the macro to be run twice, which is cumbersome and impractical:

Exécution du script Groovy CAFilterMacro.groovy…
editor: org.txm.rcp.views.fileexplorer.MacroExplorer@1f30dc8f
editor is not a CA editor: org.txm.rcp.views.fileexplorer.MacroExplorer@1f30dc8f, Run the macro with F12 when the editor is selected :-)

Solution

Use the corpus view selection to designate the result to work on:

--> If a selection is available in the Corpus view, use it to get to the right editor to work with.

Formats disponibles : Atom PDF