Feature #1661

RCP: X.X, Delete concordance lines V1

Added by Matthieu Decorde almost 4 years ago. Updated over 3 years ago.

Status:New Start date:02/08/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:UI Spent time: -
Target version:TXM 0.7.8

Description

see specifications at https://groupes.renater.fr/wiki/txm-info/public/specs_concordance#edition_de_la_concordance

Be able to edit a concordance by deleting concordance lines

Solution

implementation
Use the "delete" CQL operator.
MATCH_INDEX {0, number of matches in the sub-corpus}

delete SUBCORPUSNAME MATCH_INDEX

ui

  1. select the lines to delete
  2. call the DeleteLines command with:
    • key bindings: "DEL" or "BACKSPACE" keyboard key
    • contextual menu: "Delete"/"Supprimer" menu entry
    • menu: not available

Validation test

  • Build a concordance of "j.+" with the VOEUX corpus
  • select the 3rd line ("jeunes") and the 5th line ("jour")
  • press the "Suppr" key or select "Delete line" in the contextual menu
  • The 2 lines are removed.
  • close the concordance result and re-open it. The lines are still missing.

History

#1 Updated by Serge Heiden almost 4 years ago

Would it be possible to add a third mean of access to the delete command? --> a [delete] (red cross) button in a tool bar, or not far from the 'start annotation' button. Active only when there are some lines selected in the concordance.

#2 Updated by Matthieu Decorde over 3 years ago

  • Subject changed from RCP: X.X, Delete concordance line to RCP: X.X, Delete concordance lines V1
  • Description updated (diff)

#3 Updated by Matthieu Decorde over 3 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde over 3 years ago

  • % Done changed from 0 to 80

#5 Updated by Matthieu Decorde over 3 years ago

  • Description updated (diff)

#6 Updated by Serge Heiden over 3 years ago

  • Description updated (diff)

Also available in: Atom PDF