Skip to content

Commit

Permalink
Support Codemirror's included key mappings (#19833)
Browse files Browse the repository at this point in the history
* Support Codemirror's included key mappings

* Use a list instead of radio buttons
  • Loading branch information
okonomiyaki3000 authored and Michael Babker committed Apr 29, 2018
1 parent 9ea7106 commit ad4bc00
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 5,263 deletions.
5 changes: 5 additions & 0 deletions administrator/language/en-GB/en-GB.plg_editors_codemirror.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ PLG_CODEMIRROR_FIELD_FULLSCREEN_MOD_DESC="Select any modifier keys to use with t
PLG_CODEMIRROR_FIELD_FULLSCREEN_MOD_LABEL="Use Modifiers"
PLG_CODEMIRROR_FIELD_HIGHLIGHT_MATCH_COLOR_DESC="The background colour to use for highlighting matching tags. Will be displayed at 50% opacity."
PLG_CODEMIRROR_FIELD_HIGHLIGHT_MATCH_COLOR_LABEL="Matching Tag Colour"
PLG_CODEMIRROR_FIELD_KEYMAP_DESC="Make CodeMirror work like other popular editors."
PLG_CODEMIRROR_FIELD_KEYMAP_EMACS="Emacs"
PLG_CODEMIRROR_FIELD_KEYMAP_LABEL="Key Map"
PLG_CODEMIRROR_FIELD_KEYMAP_SUBLIME="Sublime Text"
PLG_CODEMIRROR_FIELD_KEYMAP_VIM="Vim"
PLG_CODEMIRROR_FIELD_LINE_HEIGHT_DESC="The height of one line of text. This is in ems, meaning that 1.0 is equal to the font size and 2.0 is equal to 2x the font size."
PLG_CODEMIRROR_FIELD_LINE_HEIGHT_LABEL="Line Height (em)"
PLG_CODEMIRROR_FIELD_LINENUMBERS_DESC="Display line numbers."
Expand Down
Loading

0 comments on commit ad4bc00

Please sign in to comment.