- Jul 14, 2017
-
-
Nicolas Kick authored
[sublime keymap] "Add to selection" bindings (Ctrl-Alt-Up/Down on Windows, Cmd-Shift-Up/Down on Mac)
-
- Jun 22, 2017
-
-
Travis Heppe authored
into a form that CodeMirror can understand.
-
- Jun 21, 2017
-
-
Marijn Haverbeke authored
-
- Jun 17, 2017
-
-
Marijn Haverbeke authored
Issue #4803
-
- Jun 14, 2017
-
-
Travis Heppe authored
-
- Jun 13, 2017
-
-
Travis Heppe authored
-
- Jun 01, 2017
-
-
Vincent Woo authored
Addresses #4771
-
- May 28, 2017
- May 22, 2017
-
-
Max Schaefer authored
-
Max Schaefer authored
-
- May 16, 2017
-
-
NetworkNode authored
-
- Apr 28, 2017
-
-
Marijn Haverbeke authored
-
- Mar 08, 2017
-
-
Ami Fischman authored
Starting with Emacs 24.4 the meanings of Enter and Ctrl+J was swapped, so that RET does newline-and-indent while C-j is the simple non-electric newline. This change makes codemirror4 match Emacs.
-
- Mar 05, 2017
-
-
Adrian Heine authored
-
- Feb 28, 2017
-
- Feb 08, 2017
-
-
Marijn Haverbeke authored
Closes #4552
-
- Feb 04, 2017
-
-
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>
-
- Jan 19, 2017
-
-
Jakub Vrána authored
Selecting two full lines including line ends makes a selection from line 1 to line 3 (ch: 0). This command used to sort three lines (1 to 3) which is not what I expect. This change makes it sort only two lines if there are no selected characters on the last line. It also fixes a fatal error if there are more than one selection on the same line (the code used 'range' instead of 'ranges'). It also selects the trailing newline after sorting the lines so that the whole lines are selected.
-
- Dec 07, 2016
-
-
Andrew Cheng authored
so other potential emacs-type modules can use
-
- Dec 03, 2016
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Closes #4419
-
- Nov 21, 2016
-
-
Kazuhito Hokamura authored
-
- Oct 15, 2016
-
-
Dick Choi authored
-
- Oct 11, 2016
-
-
mtaran-google authored
-
- Sep 05, 2016
-
-
nightwing authored
-
- Jul 07, 2016
-
-
Luke Granger-Brown authored
In Replace mode (or Overwrite mode) it should still go backwards without deleting characters.
-
- Jul 04, 2016
-
-
mtaran-google authored
-
- Jun 26, 2016
-
-
Yunchi Luo authored
and remove autocomplete bindings
-
- Jun 19, 2016
-
-
Jeff Jenkins authored
-
- Jun 09, 2016
-
-
Vincent Woo authored
-
- May 17, 2016
-
-
Marijn Haverbeke authored
This reverts commit 8dbb84f4. Issue #3127
-
- May 02, 2016
-
-
Pavel Petržela authored
-
- Apr 26, 2016
-
-
Marijn Haverbeke authored
Issue #3991
-
- Apr 11, 2016
-
-
Vincent Woo authored
-
- Apr 05, 2016
-
-
Josh Soref authored
-
- Mar 31, 2016
-
-
Josh Soref authored
-
- Mar 28, 2016
-
-
Michael Zhou authored
The Error after the while(true) loop is not reachable and should be removed. The "this.iterator" property should be given an initial value of 0. This fixes two warnings reported by Closure Compiler.
-
- Mar 26, 2016
-
-
Michael Zhou authored
cm.save() might not exist if CodeMirror is not created from a textarea. This adds an additional check to prevent TypeErrors.
-