Bug #1479

RCP: 0.7.7, Edition highlighting doesn't work as expected when loading next/previous texts

Added by Sebastien Jacquot about 4 years ago. Updated 8 months ago.

Status:New Start date:09/08/2015
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Edition Spent time: -
Target version:TXM X.X

Description

Edition highlighting (from linked Concordances) doesn't work as expected when loading next/previous texts, wrong words are highlighted.
See:

  • org.txm.rcpapplication.editors.TXMBrowser.setWordsIds(List<String>, List<String>)

The ids of the words to highlight may not be updated when loading next/previous text with the arrow buttons.
Important note: the positions of words in HTML edition defined in w@id restarts from number 1 for each new text therefore we can not directly use the global CQP corpora positions.


Related issues

related to Bug #1515: RCP: 0.7.7, Missing highlights in Edition New 09/22/2015

History

#1 Updated by Sebastien Jacquot about 4 years ago

Further tests:
- when opening an edition from a concordance, the local ids of the text of the current line are given to TXMBrowser to highlight them
- when going to next/previous text in this edition, the ids to highlight are not updated, they stay the first that have been passed to the TXMBrowser

#2 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#3 Updated by Sebastien Jacquot over 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#4 Updated by Matthieu Decorde 8 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF