Feature #3222

default Edition, format word properties tooltip as bulleted list

Added by Serge Heiden over 1 year ago. Updated 8 months ago.

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

70%

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

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 over 1 year ago

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

#2 Updated by Serge Heiden over 1 year ago

  • Description updated (diff)

#3 Updated by Serge Heiden over 1 year ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde 8 months ago

  • Target version changed from TXM 0.8.2 to TXM 0.8.3

Also available in: Atom PDF