RCP: 0.7.7, load CQL query history in query input widgets at startup
A) Currently CQL queries used on a corpus are stored between working sessions to be able to be displayed in the Query view. To be able to use such queries, the user needs to open the Query view, select and copy a query then paste it in any query input widget.
B) Furthermore, query input widgets manage the history of the queries they have been given as input.
It would be more interesting and convenient for the user to merge A) and B) behaviours: load query history of a corpus in the query input history of any query input widget at startu This would provide a feeling of permanent input history like in the Bash shell for example. And like it, we would have to define a policy for the relation between current session history and all times history. In such a context, the Query view can be exposed to offert query history editing/management.
Solution
- when a TXMResult editor is opened, initialize all CQL query field widgets history with the list of the corpus past queries.
- create new TXM Preference ‘TXM >User’ / section ‘Query’ (+ other
sections): “History size / Taille de l’historique”
- default value: 100
(from redmine: issue id 1530, created on 2015/09/27 by Serge Heiden)
- Relations:
- relates #1447