Feature #3222

default Edition, format word properties tooltip as bulleted list

Added by Serge Heiden 4 months ago. Updated about 1 month ago.

Status:New Start date:02/10/2022
Priority:High Due date:
Assignee:- % Done:

70%

Category:Edition Spent time: -
Target version:TXM 0.8.2

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

History

#1 Updated by Matthieu Decorde 2 months ago

  • Target version changed from TXM 0.8.3 to TXM 0.8.2
  • % Done changed from 0 to 70

#2 Updated by Serge Heiden about 1 month ago

  • Description updated (diff)

#3 Updated by Serge Heiden about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF