Support blank lines in CodeMirror.multiplexingMode
This adds a blankLine method that calls the current mode's blankLine if it has one. It has allows switching on a blank line if "\n" is specified for "open" or "close".
[vim keymap] added Home, End, PageUp, PageDown, |
moveByLines was changed to better keep track of the previous action. For example, if moveToEol was the previous action, moving up or down should stay at Eol regardless of line length.
[vim keymap] Add indentation for newlines from o/O
Use newlineAndIndentContinueComment by default, falling back to newlineAndIndent if the former command is not defined.
Same behavior is made default for Enter key in insert mode.In mouse handler, don't assume document doesn't change between moused…
…own and mouseup
Clean up to meet JSHint compliance.
Various other style fixes. Updates to comments.
Postfixed main theme classes where BG/FG set
Added .CodeMirror to end of class names so that under CodeMirror v3, the authors intended BG/FG is used rather than the parent styling seen
[vim][v3] fix search highlighting
`markText` changed parameters from v2 to v3
Allow multiple iterations when scrolling a position into view
[htmlembedded mode] Don't directly call startState and indent on unkn…
…own mode It may not provide these methods. Closes #1051
Don't call dataTransfer.setDragImage on Sarari
It seems to cause Safari 6.0.2 to follow a null pointer and crash.
[vim keymap] Improvements to visual mode.
- Fix bug where visual mode cannot be entered from EOL. - When already in characterwise visual mode, pressing Shift-V now enters linewise visual mode instead of exiting visual mode. - Mouse selection in normal mode enables visual mode.
[util/runmode] Move from innerHTML to document.create*
To work around IE innerHTML bugs
[clike mode] Add statementIndentUnit config option
To specify the amount that continued statements have to be indented. Closes #1053
[vim keymap] Improvements to * and #.
* and # will fall back to non-blank characters if no keyword is found.