Update lib/util/searchcursor.js
fix reverse Regexp match which cause memory leak
[javascript&clike modes] Indent block comments with CodeMirror.Pass
This'll align them with the previous line. It's not a perfect solution, but probably better than simply returning 0. Issue #854
[markdown] Fix performance issue with regex matching of single closin…
…g chars (closes #862). Also avoid a global variable that snuck through.
[markdown] Fix bug with false positive matches of inline links.
- Inline links (square brackets followed by parentheses) cannot be separated by space (per Documentation and Dingus). - Added test that checks both for this and correct highlighting of square brackets by themselves.
[Markdown] [GFM] Rewrite GFM to inherit changes from Markdown mode be…
…tter. - Add options to Markdown mode to make it easier to extend - Add GFM text overlay - SHA, User@SHA, and User/Project@SHA - #Num, User/#Num, and User/Project#Num - Vanilla URLs - Add GFM-specific tests - Fix overlay code so blankLine() is called
Another kludge in measureLine/lineWrapping interaction
Opening a new span between letters apparently *causes* the browser to consider that element start to be a good place to break. This adds zero-width joiners in such a situation to prevent this from happening. Closes #867
[simplehint util] Support completeSingle option
To turn off the behavior where it'll always complete when only a single option is left.
Set pre elements to overflow: visible
Some sites set them to auto, which messes up our cursor (and probably more)
[util/simple-hint] Align completion dropdown with completed word
Add alignWithWord option to be able to turn that off.
This basically matches the CSS3 spec (except it doesn't match non-ascii characters).
Don't mutated makedSpans arrays
And add marker changes to the undo history, so that un/redoing doesn't cause 'ghost' markers to appear. Closes #882
Fixed multi-line Lua comment recognition
Multi-line Lua comments start with "--[[", not "--["
(git is the authoritative source of who wrote what)
Different approach to ensuring marker.clear works well with undo
The previous approach was quite misguided.
fix double click to select a Chinese word in quotes bug: e.g:<div name='新增'>新增</div> double click to select word 新增
Add expanded list of real-world uses as a separate page
So that I don't have to say 'no' so often