Add new review-related hotkeys; re-arrange hotkeys modal.

This commit is contained in:
Paulo Reis 2017-05-19 15:52:04 +01:00
parent 75c5bf60a8
commit 914e50f3f6

View file

@ -9,38 +9,38 @@ script(type="text/ng-template", id="hotkeysModalTemplate")
.modal-body.modal-hotkeys .modal-body.modal-hotkeys
h3 #{translate("common")} h3 #{translate("common")}
.row .row
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + F span.combination {{ctrl}} + F
span.description Find (and replace) span.description Find (and replace)
.hotkey .hotkey
span.combination {{ctrl}} + Enter span.combination {{ctrl}} + Enter
span.description Compile span.description Compile
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + Z span.combination {{ctrl}} + Z
span.description Undo span.description Undo
.col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + Y span.combination {{ctrl}} + Y
span.description Redo span.description Redo
h3 #{translate("navigation")} h3 #{translate("navigation")}
.row .row
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + Home span.combination {{ctrl}} + Home
span.description Beginning of document span.description Beginning of document
.col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + End span.combination {{ctrl}} + End
span.description End of document span.description End of document
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + L span.combination {{ctrl}} + L
span.description Go To Line span.description Go To Line
h3 #{translate("editing")} h3 #{translate("editing")}
.row .row
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + / span.combination {{ctrl}} + /
span.description Toggle Comment span.description Toggle Comment
@ -50,16 +50,17 @@ script(type="text/ng-template", id="hotkeysModalTemplate")
.hotkey .hotkey
span.combination {{ctrl}} + A span.combination {{ctrl}} + A
span.description Select All span.description Select All
.hotkey .col-xs-4
span.combination Tab
span.description Indent Selection
.col-xs-6
.hotkey .hotkey
span.combination Ctrl + U span.combination Ctrl + U
span.description To Uppercase span.description To Uppercase
.hotkey .hotkey
span.combination Ctrl + Shift + U span.combination Ctrl + Shift + U
span.description To Lowercase span.description To Lowercase
.hotkey
span.combination Tab
span.description Indent Selection
.col-xs-4
.hotkey .hotkey
span.combination {{ctrl}} + B span.combination {{ctrl}} + B
span.description Bold text span.description Bold text
@ -69,27 +70,40 @@ script(type="text/ng-template", id="hotkeysModalTemplate")
h3 #{translate("autocomplete")} h3 #{translate("autocomplete")}
.row .row
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination Ctrl + Space span.combination Ctrl + Space
span.description Autocomplete Menu span.description Autocomplete Menu
.col-xs-4
.col-xs-6
.hotkey .hotkey
span.combination Tab / Up / Down span.combination Tab / Up / Down
span.description Select Candidate span.description Select Candidate
.col-xs-4
.hotkey .hotkey
span.combination Enter span.combination Enter
span.description Insert Candidate span.description Insert Candidate
h3 !{translate("autocomplete_references")} h3 !{translate("autocomplete_references")}
.row .row
.col-xs-6 .col-xs-4
.hotkey .hotkey
span.combination Ctrl + Space span.combination Ctrl + Space
span.description Search References span.description Search References
h3 #{translate("review")}
.row
.col-xs-4
.hotkey
span.combination {{ctrl}} + J
span.description Toggle review panel
.col-xs-4
.hotkey
span.combination {{ctrl}} + Shift + A
span.description Toggle track changes
.col-xs-4
.hotkey
span.combination {{ctrl}} + Shift + C
span.description Add a comment
.modal-footer .modal-footer
button.btn.btn-default( button.btn.btn-default(