Feature #1864

Analec unit navigation keyboard shortcuts

Added by Matthieu Decorde about 3 years ago. Updated almost 3 years ago.

Status:New Start date:09/16/2016
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Annotation Spent time: -
Target version:TXM Democrat 1.0

Description

Retrieve Analec shortcuts from manual or source code

From the Manual

  • CTLR + up: previous unit
  • CTLR + down: next unit
  • next: to be done

From source code

From PanneauEditeur.java:

    new GActionClavier(this, "suivant", "F1", "control DOWN") {
      public void executer() {
        elementSuivant(1);
      }
    };
    new GActionClavier(this, "précédent", "F2", "control UP") {
      public void executer() {
        elementSuivant(-1);
      }
    };
    new GActionClavier(this, "copier", "F3", "control M") {
      public void executer() {
        copierElement();
      }
    };
    new GActionClavier(this, "coller", "F4", "control R") {
      public void executer() {
        collerElement();
      }
    };

From VisuMain.java:

item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK)); // Menu texte > Chercher
...
item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_G, ActionEvent.CTRL_MASK)); // Menu texte > Suivant

Next to be done.


Related issues

related to Feature #1851: word selection shortcuts New 09/05/2016

History

#1 Updated by Matthieu Decorde about 3 years ago

  • Description updated (diff)
  • % Done changed from 0 to 50

flèche haut et flèche bas sont implémentés

#2 Updated by Matthieu Decorde almost 3 years ago

  • % Done changed from 50 to 80

#3 Updated by Matthieu Decorde almost 3 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde almost 3 years ago

  • Subject changed from Analec unit edition shortcuts to Analec unit navigation keyboard shortcuts
  • Description updated (diff)

Also available in: Atom PDF