Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: codemirror/CodeMirror
base: v2.34
head fork: codemirror/CodeMirror
compare: v2.35
Commits on Sep 19, 2012
Marijn Haverbeke marijnh Bump version post-release 230d532
Commits on Sep 25, 2012
Marijn Haverbeke marijnh Fix git URL in doc/compress.html 553ce94
Commits on Sep 28, 2012
Marijn Haverbeke marijnh [util/simple-hint] don't close hint dialog when a modifier key is pre…

Closes #853
Marijn Haverbeke marijnh Fix setOption('tabindex', ...) 19f0d06
张飞 feizhang365 Update lib/util/searchcursor.js
fix reverse Regexp match which cause memory leak
Marijn Haverbeke marijnh [demo/mustache] Recognize triple braces e8b2cb7
Marijn Haverbeke marijnh Don't do overwrite when pasting 64d2081
ara.t.howard ahoward embedded ruby configuration cede207
Marijn Haverbeke marijnh [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
Marijn Haverbeke marijnh Add gittip donation link 831a3a5
Marijn Haverbeke marijnh [javascript mode] Fix suble parsing bug in for loop specs 07e933a
Marijn Haverbeke marijnh Ensure block-indent doesn't use outdated state
Closes #844
Commits on Oct 02, 2012
Brandon Frohs bfrohs [markdown] Fix performance issue with regex matching of single closin…
…g chars (closes #862).

Also avoid a global variable that snuck through.
Richard Wang rzhw Make runmode escaping global dc768cc
Commits on Oct 03, 2012
Brandon Frohs bfrohs [markdown mode] A few fixes for highlighting.
- Prevent "markdown_hrDashLong" test from failing when runHarness() is called manually.

- Render EM / STRONG within link text (closes #823).

- Add highlighting for images (closes #824).
Brandon Frohs bfrohs [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.
Brandon Frohs bfrohs [Markdown] [GFM] Rewrite GFM to inherit changes from Markdown mode be…

- 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
Marijn Haverbeke marijnh 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

Closes #867
Brandon Frohs bfrohs Add note about mode dependency and links to highlighting tests. 84baea5
Commits on Oct 04, 2012
Brandon Frohs bfrohs [markdown mode] Fix highlighting for code blocks with internal indent…
Marijn Haverbeke marijnh [simplehint util] Support completeSingle option
To turn off the behavior where it'll always complete when only
a single option is left.
Marijn Haverbeke marijnh [keymap/vim] Stop using .forEach on arrays 525f15c
Marijn Haverbeke marijnh Set pre elements to overflow: visible
Some sites set them to auto, which messes up our cursor (and probably more)
Commits on Oct 15, 2012
Marijn Haverbeke marijnh [util/simple-hint] Align completion dropdown with completed word
Add alignWithWord option to be able to turn that off.
Brandon Frohs bfrohs [css] Fix class matching.
This basically matches the CSS3 spec (except it doesn't match non-ascii characters).
Marijn Haverbeke marijnh 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
ks-ifware ks-ifware Fixed multi-line Lua comment recognition
Multi-line Lua comments start with "--[[", not "--["
Brandon Frohs bfrohs Fix typo in manual. ebcd76e
Marijn Haverbeke marijnh Fix typo (lenght) fdf78f7
Commits on Oct 16, 2012
ComFreek ComFreek Merged JavaScript and TypeScript mode as marijnh suggested 5ea1eb9
Marijn Haverbeke marijnh Make typescript mode recognize type declarations b3c1c79
Marijn Haverbeke marijnh Fix removing of spans 2b6d796
Marijn Haverbeke marijnh Remove copyright header
(git is the authoritative source of who wrote what)
Marijn Haverbeke marijnh Add defineInitHook functionality ac059ff
Commits on Oct 18, 2012
Marijn Haverbeke marijnh Different approach to ensuring marker.clear works well with undo
The previous approach was quite misguided.
Commits on Oct 19, 2012
张飞 feizhang365 Update lib/codemirror.js
fix double click to select a Chinese word in quotes bug:
e.g:<div name='新增'>新增</div>  double click to select word 新增   
Marijn Haverbeke marijnh [javascript mode] Handle semicolon-less code better
Closes #898
Marijn Haverbeke marijnh [javascript mode] Also count on semicolon omittance in var lists
Issue #898
Marijn Haverbeke marijnh Add expanded list of real-world uses as a separate page
So that I don't have to say 'no' so often
Commits on Oct 22, 2012
Marijn Haverbeke marijnh Add more real-world uses f5bb594
Marijn Haverbeke marijnh Mark release 2.35 35846db