- Feb 10, 2017
-
-
Marijn Haverbeke authored
Closes #4472
-
Marijn Haverbeke authored
Issue #4560
-
Erik Welander authored
-
Marijn Haverbeke authored
Issue #4556
-
Marijn Haverbeke authored
-
- Feb 09, 2017
-
-
Marijn Haverbeke authored
Closes #4554
-
Marijn Haverbeke authored
Closes #4553
-
- Feb 08, 2017
-
-
Marijn Haverbeke authored
Closes #4552
-
- Feb 07, 2017
-
-
TSUYUSATO Kitsune authored
- Update keywords (remove `ifdef`. add `select`, `uninitialized` and `__END_LINE__`.) - Add new string literals (%q string and here docs). - Remove global variable syntax (because it is no longer supported.) - Improve indentation (fix #3887, and correct indentation of `abstract class`)
-
- Feb 06, 2017
-
-
Marijn Haverbeke authored
Closes #4548
-
Marijn Haverbeke authored
Since it's increased the strangeness of the userAgent string again Issue #4408
-
Adrian Heine authored
-
Adrian Heine authored
-
- Feb 05, 2017
-
-
Adrian Heine authored
-
Adrian Heine authored
1. End of wrapped line in bidi content is wrong (my mistake) 2. coordsChar({left:0, top: *}) in bidi content is wrong after Marijn's code style changes
-
Adrian Heine authored
-
- Feb 04, 2017
-
-
Marijn Haverbeke authored
Closes #4545
-
Kevin Muret authored
-
Fabien Dubosson authored
The current situation prevents to remove bindings from the default keymap in vim mode. It is sometimes required to be able to delete them in order to do some custom mapping. Example: 1. The `h` binding is defined in the default keymap for moving left. 2. The user want to set the custom binding `h<character>` to behave like `r<character>`. It can do so with: CodeMirror.Vim.mapCommand('h<character>', 'action', 'replace', {}, { isEdit: true, context: 'normal' }); 3. When the user press the `h` key, the code searches for all the keybindings matching it [1]. 4. Two bindings are found: - The default binding `h` for moving left. This is a FULL match. - The user-defined `h<character>`. This is only a PARTIAL match as it is expecting another character. 5. The code is preferring FULL matches over PARTIAL matches whenever they are in competition [2]. The code then selects the move left action. 6. The way to let the user-defined binding take over is to let the user delete the default binding: CodeMirror.Vim.unmap('h'); but this is not possible because it is not allowed to delete bindings from the default keymap [3]. This commit remove such differentiation by treating all bindings in the same way, letting the responsibility to the user to not mess with the bindings he needs. [1] https://github.com/codemirror/CodeMirror/blob/ff84b9ee73b75851801bc4004b75e35fea6291cb/keymap/vim.js#L1098 [2] https://github.com/codemirror/CodeMirror/blob/ff84b9ee73b75851801bc4004b75e35fea6291cb/keymap/vim.js#L1099-L1103 [3] https://github.com/codemirror/CodeMirror/blob/ff84b9ee73b75851801bc4004b75e35fea6291cb/keymap/vim.js#L4182 Signed-off-by:
Fabien Dubosson <fabien.dubosson@gmail.com>
-
- Feb 03, 2017
-
-
Adrian Heine authored
-
Adrian Heine authored
-
- Feb 02, 2017
-
-
Marijn Haverbeke authored
Closes #4526
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
ES5, breaking up of whitespace tokens
-
Marijn Haverbeke authored
Since this raises an exception in IE8
-
Marijn Haverbeke authored
-
Adrian Heine authored
-
Adrian Heine authored
-
Adrian Heine authored
-
Adrian Heine authored
-
Adrian Heine authored
-
Adrian Heine authored
-
Adrian Heine authored
-