[comment addon] Avoid killing block comments outside selection
Currently, if you perform the uncomment command with the cursor outside a single-line block comment, it will uncomment that block comment. This is unfortunate behavior for cases where the block comment is used to describe the parameter to a function like "foo(/* index */ 0)". It's also inconsistent: if you have a selection and a single-line block comment after the end of the selection, uncomment() will do nothing, however if you have a selection with a single-line block comment *before* the selection, it will line-comment out all the lines of the selection instead. This also isn't a complete fix, but significantly reduces the scope of the problem. For example if you have "/* foo */ bar /* baz */", uncomment() still does the wrong thing when the cursor is on foo or baz.
Also updated select block to return selectionStart. Operators from now on will stop using curStart and curEnd, and rely on the current selection instead. The selection will be generated in evalInput if needed.
Move update of delayedCallbackDepth to start of endOperation
To make it less likely that an error will corrupt its value and break all further signalLater events. Issue #2626
[closebrackets addon] Add more refined heuristics for when to close q…
…uote characters Looks at token types to determine whether the quote would actually open a string Issue #2657
[multi-editor operations] Set up operation grouping
Now nested operations from different editors end at the same time
Fix broken double-checking of display coverage
Both a potential infinite loop, due to updateDisplayIfNeeded not using the updated set of visibile lines, and the fact that the current check wasn't really covering changing document size, due to it happening before the call to setDocumentHeight Issue #2683
[vbscript mode] Fixed "Cannot read property 'substr' of null"
Error occurs when entering multiple dots
Bump indentation-ignoring threshold to 150
You might actually want to align things on long lines Issue #2688
Fix key-binding behaviour on Mac in wrap mode
Bind Cmd-Left to goLineLeft and Cmd-right to goLineRight instead of goLineStart and goLineEnd Create and bind delVisualLeft and delVisualRight to Cmd-Backspace and Cmd-Delete
Catch and suppress input of certain code point on Mac
Ctrl-arrow key presses were, for some reason, inserting such characters into our textarea. Issue #2689
Disable replace for readOnly content
Disable the `replace()` when the selected `CodeMirror` is `readOnly`.