mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
We use to include all the keyMap files in the codeMirror bundle, but these files can be pretty large, and are useless if the user did not select a custom key mapping in the settings panel. This patch changes this to only load those files when they are needed, either when a new editor is created, or when the user changes the key mapping preference. The files are only loaded once. Differential Revision: https://phabricator.services.mozilla.com/D22977