Menu

#1311 Make editor keys customizable

4.1
closed-fixed
None
5
2017-03-16
2017-03-07
No

Keyboard shortcuts used by the Editor and the Auto-completer were hardcoded; they are now loaded from a Properties file that can be supplied by the user. The mechanism is the same as that for menu keys:

Place a copy of EditorShortcuts.properties (sourceforge.net) (EditorShortcuts.mac.properties (sourceforge.net) for Mac users) in the OmegaT configuration folder (available from Options > Access Configurations Folder). Adjust the values to the right of each = as desired.

Shortcut strings (ctrl A, etc.) must conform to the syntax accepted by KeyStroke.getKeyStroke() (docs.oracle.com). Invalid values will be noted in the log, e.g.:

14616: Warning: Keyboard shortcut is invalid: autocompleterTrigger=ESCAPEs 

Related

Bugs: #858
Feature Requests: #1073
Feature Requests: #1194

Discussion

  • Aaron Madlon-Kay

    Available in trunk, r9631.

     

    Last edit: Aaron Madlon-Kay 2017-03-07
  • Didier Briel

    Didier Briel - 2017-03-16
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2017-03-16

    Implemented in the released version 4.1.1 of OmegaT.

    Didier

     

Log in to post a comment.

MongoDB Logo MongoDB