commit | 60a77b0562e6c49ee7f6b549c595b1306931ef72 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Dec 30 23:41:57 2014 -0500 |
committer | Shawn Pearce <sop@google.com> | Wed Dec 31 13:56:12 2014 -0500 |
tree | 9fa78b78080b09eed9a948dd44eac171498dbe7d | |
parent | 8deb1b43d41b92779db5d7b05c7552a51576928f [diff] |
Use CodeMirror meta.js to describe modes Instead of writing out the mode_map table by hand, compile and include meta.js from the CodeMirror distribution. This script lists all modes in simple JavaScript objects. An advantage of this format is the name property is human readable, and does not require munging MIME type strings. Adding new modes now changes only 2 files in the client (Modes and ModeInfo). Change-Id: Ifa0c7af77681f72b8210fca83a7af6a9ef1c6541