Update CodeMirror to 4.10
The beforeChange event API has been completely changed from 3.x. It
now receives an object with an array of ranges. The last range is the
"primary" range that most selection methods will default to.
Cursor position CSS was updated in CM 4.x and needs to be adapted to
keep the prior behavior of an underline for current cursor with no
blinking box on selected text.
CM3 related constants in the build system were renamed to CM_ prefix
to avoid needing to rename them again when CodeMirror updates to 5.x.
JavaScript and CSS output were updated to be cm4.{css,js}. Keep the
major version number in the file names clarifying the content being
loaded into the browser.
Change-Id: I49c70f7155f96c63c94521eeb1d676b4429d6962
5 files changed