Fixed bug with duplicating formatted text in CSS/XML/JavaScript when …
…only a part of the code, not the entire code, is formatted.
[vim keymap] Reuse motion code for all our operators.
Functionally no change, just much better style.
[vim keymap] Rewrote e motion, added w and % motions.
% motion fails on nested parens/brackets of the same type.
[gfm mode] Fix: autolinks syntax. New: double bracket links.
Autolinks were not being displayed as such in the editor, changed 'linkhref' to 'link' in line 72 to fix it. Added support for GFM double bracket links. '[[link]]' is now displayed correctly as a link by the editor. Added coloring support for latex formulas, usage of - "$formula$", - "$$formula$$", - "\( formula \)", and - "\[ formula \]" will now be highlighted with the same coloring used for strings.
Invert order in which onChange and onCursorActivity are called
(onChange goes first now)
Switch to a dummy cursor to force doc width in non-wrapping mode
This prevents situations where the cursor will cause a scrollbar, but the rest of the code doesn't realize this. Also removes the lineSpace.style.width setting code, which appears to have been broken in several different ways. Closes #550
Fix bug where search.js would dereference undefined
Occurred when starting a (regular) replace below the last match. Closes #582
Stop treating braces with a null style as matching any style
This was causing braces/paren/brackets in JS to match those inside of strings.
Restore search heuristic for doing case-insensitive search when query…
… string is all lowercase