Feature #3459

Import, XTZ, default Edition, format word properties tooltip as bulleted list

Ajouté par Matthieu Decorde il y a presque 2 ans.

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

70%

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

Description

Currently the word properties tooltip is formated as a comma separated list, which is less readable than a bulleted list, especially when words have many properties.

Take the opportunity of reformating to add the word identifier in the tooltip.

Solution

Replace the current HTML code (first word of VOEUX corpus as example):

<span title="n=1, frpos=PRP, frlemma=pour, phase=début" id="w_0001_1">Pour</span>

by
<span title="- n : 1&#013;&#010;- frpos : PRP&#013;&#010;- frlemma : pour&#013;&#010;- phase : début&#013;&#010- id : w_0001_1" id="w_0001_1">Pour</span>


Ce qui s'affiche comme ceci :
- n : 1
- frpos : PRP
- frlemma : pour
- phase : début
- id : w_0001_1


Ou encore mieux comme ceci (prendre le nom de propriété le plus grand pour choisir la largeur d'affichage des noms de propriétés avec le format '- %7s : ...') :
- n       : 1
- frpos   : PRP
- frlemma : pour
- phase   : début
- id      : w_0001_1

Formats disponibles : Atom PDF