Skip to content

HTTPS clone URL

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.32
...
head fork: codemirror/CodeMirror
compare: v2.33
Commits on Jul 23, 2012
Marijn Haverbeke marijnh Test for end-of-line measurement bugs a7fb56d
Commits on Jul 24, 2012
Marijn Haverbeke marijnh Remove fundraiser banner 195b3a7
Commits on Jul 30, 2012
Tim Baumann timjb Run test suite with PhantomJS and Travis 35e89c5
Marijn Haverbeke marijnh Show low-range ascii, zero-width space, byte-order marks as red dots
Closes #649
06d55e2
Marijn Haverbeke marijnh Update gutter when lineNumberFormatter is changed 42dac6a
Peter Kroon peterkroon Typo, removed double clear word 57dcc05
Peter Kroon peterkroon Update lib/codemirror.js
Remove double semicolon.
bcd46be
Marijn Haverbeke marijnh Reset editor width when switching to line wrapping
Closes #660
67cf948
Marijn Haverbeke marijnh [clike mode] Add more MIMEs for C and C++ 42be39b
Marijn Haverbeke marijnh Restore functionality of binding a key to false
(This will cause it to pass through CM's key handlers unmolested.)
6fd8cd4
Marijn Haverbeke marijnh Adjust vert scrollbar in size when horiz one is visible
And fix some more scrolling-related confusion.

Closes #663
9b56986
Marijn Haverbeke marijnh Fix brokenness introduced by last few patches 37476d5
Peter Kroon peterkroon Store instance in a variable in demo/marker.html 1b94e9e
Marijn Haverbeke marijnh Simpler computation of docBottom in scrolling code 50b654c
Marijn Haverbeke marijnh [mode multiplexer] Be more careful about using indent method
Closes #670
de5b417
Marijn Haverbeke marijnh [dialog util] Restore editor focus when button is pressed
Closes #671
f25d983
Marijn Haverbeke marijnh Use measureLine when determining max line width
It used to use stringWidth, which ignored transformations applied to
the text (most notably, tab replacement), and produced bad results.

Closes #672
4b28cdb
Commits on Jul 31, 2012
Marijn Haverbeke marijnh Clean up scrolling event handlers
They could get into an infinite recursion on Safari, causing
scrolling glitches.
89e09e7
Marijn Haverbeke marijnh New approach to normalizing scrollwheel deltas 3575c53
Marijn Haverbeke marijnh Make setSize also refresh e5f9692
Marijn Haverbeke marijnh Better error messages from test suite f487e88
Marijn Haverbeke marijnh Detect wrapped line jumps when rounding coords to characters
Issue #650
fb94878
Marijn Haverbeke marijnh Stop suppressing pointer events
Issue #674
2f71aea
Marijn Haverbeke marijnh Remove debugging single-test limit 726c616
Marijn Haverbeke marijnh Fix new test to work with different zoom levels 4ff1fc0
Marijn Haverbeke marijnh Fix several bugs in search code 0634f2e
Marijn Haverbeke marijnh Make at least forward regexp search behave properly wrt $ and ^ 853794a
Marijn Haverbeke marijnh Make sure inside of scroller is always big enough to scroll
Issue #676
c61b8cd
Joe Borawski borawjm Replace e.preventDefault() with e_preventDefault(e) f888e0d
Brandon Frohs bfrohs Allow for hard wrapping within a blockquote d404873
Commits on Aug 01, 2012
Brandon Frohs bfrohs Hide the cursor when printing 946cd65
Marijn Haverbeke marijnh Switch back to accurate total height computation in calculateScrollPos
Closes #679
50513f5
Marijn Haverbeke marijnh Linting (semicolons, accidental globals) 03548bd
Marijn Haverbeke marijnh Add a linter, run it as part of the test suite ab7f49b
Page- Page- Change vim iterList to a standard for loop.
This fixes an error in the case that extra properties have been added to
the array prototype.
596ea59
Marijn Haverbeke marijnh Make sure display is updated properly on cursor movement
Closes #684
65e68e8
Marijn Haverbeke marijnh Switch main library over to strict mode 2b01218
Marijn Haverbeke marijnh Move 'use strict' inside of main function
To prevent problems with script concatenation.
f9d3035
Commits on Aug 03, 2012
Marijn Haverbeke marijnh Mention codemirror-announce list on project page 94782e4
Brandon Frohs bfrohs Specify character encoding on all pages. f5eab94
Marijn Haverbeke marijnh Bail out of measureLine when editor is not in the DOM
That'll make getElementById fail to return our measure element,
which shouldn't break the whole editor anymore now.
e6f91b0
Marijn Haverbeke marijnh Add some more random variance to temp element id baf89c4
Marijn Haverbeke marijnh [xml-hint] Move from .substr to .slice for old-IE compat, fix offset bug
Closes #692
b186039
Commits on Aug 06, 2012
Jan Keromnes jankeromnes Save memory on null pointers in Line object a2ca948
Jan Keromnes jankeromnes Remove some tailing spaces 659173a
Marijn Haverbeke marijnh Fix testsuite in IE dad0bd1
Marijn Haverbeke marijnh Make tests pass on Opera
And move browser detection up in the codemirror.js file, to prevent
further instances of 'use sniffing before actually doing it' bugs.
835776d
Pavel Feldman repenaxa Migrate from innerHTML to DOM bindings / fragments. 0f44da0
Pavel Feldman repenaxa Emulate textContent setter in case of IE 0a6bbc2
Marijn Haverbeke marijnh Clean up and optimize tab/invalid char rendering in getElement
Issue #698
e236f8a
Marijn Haverbeke marijnh Remove CodeMirror.htmlEscape
Issue #698
bc21452
Pavel Feldman repenaxa Add support for keywords in CSS mode 81ece33
Marijn Haverbeke marijnh Note about mobile browsers to browser support section on project page 1c8ac0d
Marijn Haverbeke marijnh Give scroller element a V scrollbar again
Hide it by overlaying it with our fake scrollbar. Remove explicit wheel handling
for reasons of being extremely hard to get right.

Issue #694
dae1574
Commits on Aug 07, 2012
Brandon Frohs bfrohs Add info about setting a key binding to FALSE 0ad9934
Marijn Haverbeke marijnh Fix inserting of HTML gutter markers
Closes #703
a13c788
Pavel Feldman repenaxa Pressing Up while on the first line should move cursor to (0,0) 4ec8a34
Commits on Aug 08, 2012
Marijn Haverbeke marijnh Use a more robust solution for biasing coordsChar to the right line
The old solution made clicking on tabs (and other wide characters) always
put the cursor *before* them, even when clicking near their right.
25f7d89
Marijn Haverbeke marijnh [javascript mode] Fix poor handling of : punctuation
Closes #708
415776a
Marijn Haverbeke marijnh [html mode] Turn on allowMissing so that <input checked> is valid
Closes #709
e2e025a
Marijn Haverbeke marijnh Add a test ensuring that clicking a tab's right half works f9c0741
Marijn Haverbeke marijnh Replace innerHTML in init code with DOM construction methods
This is easier to work with than the child/sibling pointer following
that was needed to get the elements out.

Also rename function createElement to elt, and make it possible to
pass an array of child nodes.
70fe158
Marijn Haverbeke marijnh Add a mechanism for expected failure to the test driver 6f1c625
Marijn Haverbeke marijnh Set some tests to expect failure on IE7 df21300
Marijn Haverbeke marijnh Make tests pass on IE8 264ccbd
Marijn Haverbeke marijnh Add Codev to real-world uses b9b0e39
Marijn Haverbeke marijnh Make double-click selection distinguish between whitespace and punctu…
…ation
f8d2c5a
Commits on Aug 09, 2012
Marijn Haverbeke marijnh Properly pass tabSize to getTokenAt
It was creating a StringStream with a default tabSize.
e66d8eb
Marijn Haverbeke marijnh Add a test for vertical scrollbar behavior
In non-wrapping mode
5a68b97
Marijn Haverbeke marijnh [tests] Add test for key binding subsystem 016daab
Marijn Haverbeke marijnh [tests] Add tests for cursor-motion commands e828092
Commits on Aug 10, 2012
Marijn Haverbeke marijnh [visibletabs demo] Use an image instead of a magic :after style
This fixes the problem where the tabs interfere with other text when only
a single character wide.

Issue #673
5e40dde
Brandon Frohs bfrohs Only autofocus editor if another element isn't already focused. b1431bd
Marijn Haverbeke marijnh [tests] Fix assumptions in the face of browser quirks
Makes tests pass on IE, FF, and Opera again.

Apparently, toUpperCase isn't all that standards, and ß.toUpperCase()
produces SS on Webkit, ß on other browsers.

Also worked around some crumminess in the way IE7 reports clientWidth.

Issue #697
9516724
Peter Kroon peterkroon [less mode] better handle css2, bugfixes 436fa05
Peter Kroon peterkroon [visibletabs demo] Remove outdated text 2c2d45c
Marijn Haverbeke marijnh Revert "Only autofocus editor if another element isn't already focused."
This reverts commit b1431bd.

I pushed it by accident.
cea7d79
Marijn Haverbeke marijnh Add getViewport and onViewportChange to API
This allows client code to find out which part of the document
is currently being shown.
f373c17
Marijn Haverbeke marijnh [visibletabs demo] Make arrow wider 65651f9
Marijn Haverbeke marijnh Fix bug in coordsChar
Page-up would sometimes scroll all the way to the top even
though it shouldn't, because of a poorly chosen check in coordsChar.

The new check should no longer get false positives.
7ac5398
Commits on Aug 13, 2012
Marijn Haverbeke marijnh Remove function that no longer had any effect
(scrollEditorIntoView)
f2507dc
Marijn Haverbeke marijnh Work around Webkit 'stuck scrollbar' bug
Closes #716
0642243
Marijn Haverbeke marijnh Change autofocus rules in fromTextArea
It now focuses the new editor only if the textarea argument
currently has focus.

Closes #714
76dd7c6
Peter Kroon peterkroon [less mode] Improve highlighting 47c8458
Marijn Haverbeke marijnh Suppress no-op calls to replaceRange from indentLine
Produces less noisy change objects when pressing enter.
6895f56
Jan Keromnes jankeromnes Add Build Status to README.md 6c05854
Marijn Haverbeke marijnh [vim keymap] IE7-proof a loop over a string ed2863d
Commits on Aug 15, 2012
Marijn Haverbeke marijnh Remove unused computedStyle utility function 56f6b37
Marijn Haverbeke marijnh Another stab at autofocus + fromTextArea behavior
Issue #721
a93b915
Jan Keromnes jankeromnes Configurable cursor blink rate, default to 530ms
Suggested implementation for issue #722
cec8ba2
Joost-Wim Boekesteijn joostwim Make documentation reflect peek()'s behaviour.
String.prototype.charAt returns '' (empty string) for characters outside the range of the string.
dfcc04a
Marijn Haverbeke marijnh Make StringStream.peek return undefined when at eol
Makes its behavior match the documentation, and the behavior or .next().

Issue #724
472d099
Commits on Aug 16, 2012
Marijn Haverbeke marijnh Stop leaking window resize handlers dd6bbc6
Marijn Haverbeke marijnh Turn off the pseudo-scrollbar on OS X Lion
This is a temporary kludge. I hope we'll be able to find a better
solution. (This should bring back the flicker issue on Lion.)

Issue #727
c0ab870
Commits on Aug 17, 2012
Marijn Haverbeke marijnh Dont select the input textarea unless focused 35554d5
Page- Page- Add a closeOnBackspace option to simpleHint. 81c018d
Page- Page- Add a closeOnTokenChange option to simpleHint. 6e56a89
Marijn Haverbeke marijnh Amendment to commit c0ab870 f44ac12
Marijn Haverbeke marijnh Remove some obsolete logic
Now that the scroller div has its own vertical scrollbar, we no longer
need to explicitly update the scrollbar during updateDisplay.
dde025c
Thomas Schmid thsmi Add Sieve mode c17f9f9
Commits on Aug 19, 2012
Ahmad Amireh amireh Markdown mode: fixed issue with [bracket quoted words] that aren't ac…
…tually links being tokenized as links
8b3c1b4
Commits on Aug 20, 2012
Marijn Haverbeke marijnh Another stab at cleanly disabling the fake scrollbar on Lion 4a034c1
alexey-k alexey-k Sequences like "};" not line-broken anymore
Was "};" => "}\n;" before, "};" => "};\n" now.
2d5d287
Commits on Aug 21, 2012
Marijn Haverbeke marijnh Fix failing test verticalMovementCommandsWrapping on Chrome 21 231af71
Marijn Haverbeke marijnh Ensure cursor doesn't end up outside of visible window
Closes #738
a8ecaf3
Marijn Haverbeke marijnh Fix problem with ghost scrollbar in self-resizing editor 37d924e
Marijn Haverbeke marijnh [css mode] Treat parenthesis as punctuation
Closes #737
828e7b1
Marijn Haverbeke marijnh Assign our global with window.CodeMirror = ...
Closes #736
6ee2a02
Marijn Haverbeke marijnh Reflect repository rename in docs and project pages
(codemirror2 -> codemirror)
ad8f567
Marijn Haverbeke marijnh Update tester link to reflect right repository 9703015
Commits on Aug 23, 2012
Marijn Haverbeke marijnh Make the linter complain about byte-order marks in files 3d78790
Jan Keromnes jankeromnes remove byte order mark in xml-hint.js ef27ccc
Marijn Haverbeke marijnh Remove '2' from dev snapshot zip file name 65e02a7
Marijn Haverbeke marijnh Add Github android app to real-world uses 3d786d4
Marijn Haverbeke marijnh Don't force a width on IE7
It produces a bogus horizontal scrollbar there.
3704970
Marijn Haverbeke marijnh Mark release 2.33 805b5a4