- Nov 22, 2014
-
-
Nicholas Bollweg (Nick) authored
-
Nicholas Bollweg (Nick) authored
- more style classes: operator, builtin, meta, brackets - literal metas (@ and ^^) - many more operators - mime type and extension from spec
-
- Nov 21, 2014
-
-
Marijn Haverbeke authored
This prevents a stray $ from setting the whole rest of the document to math mode. Closes #2928
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
- Nov 19, 2014
-
-
Yunchi Luo authored
I'm rewriting the way that visual mode is written to: 1. Fix some tricky bugs, like https://github.com/codemirror/CodeMirror/issues/2913, and a couple I uncovered while doing this. (Unit tests updated) 2. Significantly simplify blockwise visual mode The core of the changes here is that I'm creating a vim selection model. The selection model consists of ``` vim.sel.head vim.sel.anchor vim.visualMode vim.visualLine vim.visualBlock ``` I'm creating a 2-way binding between the vim and codemirror selection models. All motions now rely only on the vim selection model. Operators and actions still rely on the codemirror selection model, since they operate directly on the text. Sorry for the gigantic change but I couldn't make it any smaller and still pass all the tests... I'm planning to delete `getSelectedAreaRange`, `getLastSelectedAreaRange`, and `selectBlock` in future changes as they are obsolete now that vim keeps its own selection model. An added bonus here is that visual line mode now has a cursor that can be moved.
-
- Nov 17, 2014
-
-
Marijn Haverbeke authored
Add tests
-
- Nov 15, 2014
-
-
Marijn Haverbeke authored
-
- Nov 12, 2014
-
-
Marijn Haverbeke authored
Also add support for "gutter" in add/removeLineClass.
-
Marijn Haverbeke authored
Issue #2920
-
Gregory Koberger authored
-
Marijn Haverbeke authored
Issue #2915
-
Marijn Haverbeke authored
-
- Nov 11, 2014
-
-
Marijn Haverbeke authored
Issue #2919
-
Marijn Haverbeke authored
The mode associated with a token is now the inner mode at the time when the token is started. The htmlmixed and markdown/gfm modes were fixed to return empty tokens during mode switches when necessary to enforce this rule. Issue #2919
-
Jared Forsyth authored
Defaults to `window`
-
Marijn Haverbeke authored
Issue #2922
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Issue #2921
-
Luke Stagner authored
-
Marijn Haverbeke authored
Issue #2888
-
paris authored
-
Marijn Haverbeke authored
This also helps closebrackets close quotes Closes #2918
-
Marijn Haverbeke authored
-
- Nov 07, 2014
-
-
Marijn Haverbeke authored
Issue #2912
-
Marijn Haverbeke authored
You won't get much effect from setting the mode option when no modes are loaded. Issue #2909
-
Dale Jung authored
Issue #2914
-
Marijn Haverbeke authored
-
- Nov 06, 2014
- Nov 04, 2014
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Issue #2908
-
Marcel Gerber authored
-
- Nov 03, 2014
-
-
Marijn Haverbeke authored
-