- Nov 27, 2012
-
-
Marijn Haverbeke authored
-
Timothy Hatcher authored
This stores the previous value for a mode property if an extension overwrites it with a new value. The old value is stored in a property prefixed with an underscore (e.g. "_token"). This allows extensions to piggyback the old value by still being able to access it.
-
Timothy Hatcher authored
This allows the xml mode to return a style with space separated classes and still work. I didn't use /\btag\b/ since that can match "tag-foo".
-
- Nov 26, 2012
-
-
Marijn Haverbeke authored
Closes #1002
-
Marijn Haverbeke authored
Apparently, IE does a redraw as soon as you assign to scrollTop/scrollLeft. Closes #992
-
Marijn Haverbeke authored
Issue #990
-
Marijn Haverbeke authored
-
Timothy Hatcher authored
-
Paul Ivanov authored
As a die-hard vim addict, long ago, I retrained myself to type Ctrl-[ to leave insert mode. This sends the same control sequence as escape in many other places, actually, and this patch brings this functionality to CodeMirror. From vim's :help ctrl-[ *i_CTRL-[* *i_<Esc>* <Esc> or CTRL-[ End insert or Replace mode, go back to Normal mode. Finish abbreviation. Note: If your <Esc> key is hard to hit on your keyboard, train yourself to use CTRL-[. Typing CTRL-[ is particularly easy when caps-lock is remapped to being another CTRL key, since now neither hand needs to move away form the homerow, and both little fingers just slide a little, the left little finger slides to the right to where caps lock used to be, and the right little finger slides a little bit up to the '[' key
-
- Nov 22, 2012
-
-
Marijn Haverbeke authored
The 'inverted' hack which hailed from the ancient times when selection was handled by the hidden textarea, has been replaced with a saner explicit anchor and head. setSelection now directly sets the anchor and head, rather than always creating a forward selection.
-
Marijn Haverbeke authored
Even when they move by only one pixel. This prevents the gutter from coming to rest in a one-pixel-off position.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
That was a bad idea.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
- Nov 21, 2012
-
-
Marijn Haverbeke authored
Remove a bunch of regexp kludges that never really worked. Will need to be tested more rigorously (I only tried the existing demo).
-
Marijn Haverbeke authored
Closes #987
-
Marijn Haverbeke authored
Issue #986
-
Marijn Haverbeke authored
It causes side effects on iOS On old IEs, don't do this check, since it sometimes raises weird exceptions, and re-focusing is harmless there.
-
- Nov 20, 2012
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
(And fix a really poor function name.) Issue #986
- Nov 19, 2012
-
-
Marijn Haverbeke authored
I give up.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
className is misleading -- these are not the actual CSS classes.
-
Marijn Haverbeke authored
-
Chandra Sekhar Pydi authored
';' after end of class definition is changing context to 'statement' from 'top' (or '}'). This results in subsequent lines to be indented with 2-spaces (extra). Fix is not to pushContext when curPunc is ';' and context.type is '} or 'top'.
-
Marijn Haverbeke authored
-
- Nov 17, 2012
-
-
Marijn Haverbeke authored
Issue #728
-
- Nov 16, 2012
-
-
Marijn Haverbeke authored
Issue #728
-
Brandon Frohs authored
Fenced code blocks *do* have syntax highlighting.
-
Marijn Haverbeke authored
This prevents the offset computations from becoming confused when the border falls on a hidden line. Closes #978
-
Kevin Sawicki authored
This ensures that markdown.js is loaded when gfm mode is loaded using CodeMirror.autoLoadMode
-
Kevin Sawicki authored
-
Marijn Haverbeke authored
-
William Jamieson authored
-
- Nov 15, 2012
-
-
Marijn Haverbeke authored
By checking *first* whether it needs to be pushed, and *then* whether anything did actually change. Closes #975
-
Marijn Haverbeke authored
Closes #962
-