Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
codemirror/CodeMirror
Benvie/CodeMirror
BrendonSled/CodeMirror2
Brijen/CodeMirror2
CodePen/CodeMirrorEditor
DarioGT/CodeMirror2
GerHobbelt/CodeMirror2
GordonSmith/CodeMirror2
Gozala/CodeMirror
Kodowa/CodeMirror
MariusKarthaus/CodeMirror2
MichaelaIvanova/CodeMirror
NV/CodeMirror
Naatan/CodeMirror2
Nahrae/CodeMirror
Necrathex/CodeMirror2
NikhilS/CodeMirror2
Page-/CodeMirror2
ProPuke/CodeMirror2
Raynes/CodeMirror2
SimonWaldherrArchive/CodeMirror2
Suor/CodeMirror2
TheColorRed/CodeMirror2
TypedLambda/CodeMirror2
Visheshk/CodeMirror2
WebKutir/CodeMirror2
WolfgangKluge/CodeMirror2
achicu/CodeMirror2
adam-singer/CodeMirror2
adanlobato/CodeMirror2
adobe/CodeMirror2
aklaswad/CodeMirror2
alexey-k/CodeMirror2
amphro/CodeMirror2
ananyasen/CodeMirror2
andrecharland/CodeMirror2
ankit/CodeMirror2
areos/CodeMirror2
atul-bhouraskar/CodeMirror2
axtro/CodeMirror2
ayachi/CodeMirror2
benbunk/CodeMirror2
bengillies/CodeMirror2
billortell/CodeMirror2
blackvladimir/CodeMirror2
bnowel/CodeMirror2
borawjm/CodeMirror2
botelho/CodeMirror
bridger/CodeMirror2
bsletten/CodeMirror2
capacman/CodeMirror2
captn3m0/CodeMirror2
cethap/CodeMirror2
charles-cai/CodeMirror2
charlieroberts/CodeMirror2
chendeng/CodeMirror2
chris-morgan/CodeMirror2
cicloid/CodeMirror2
ciptard/CodeMirror2
clarkbox/CodeMirror2
clemos/CodeMirror2
cliffkoh/CodeMirror2
cloudgiant/CodeMirror2
codio/CodeMirror
contributed/CodeMirror2
dbja/CodeMirror2
deebugger/CodeMirror2
djiang/CodeMirror2
dparnell/CodeMirror2
durdn/CodeMirror2
dxw/CodeMirror2
dynosmurf/CodeMirror2
dyoo/CodeMirror2
ekhaled/CodeMirror2
espadrine/CodeMirror
est/CodeMirror2
existdissolve/CodeMirror2
fbuchinger/CodeMirror2
felmoon/CodeMirror2
femhub/CodeMirror2
flyabroad/CodeMirror2
fourchette/CodeMirror2
fpo123/CodeMirror2
fprochazka/CodeMirror2
frawa/TestCodeMirror2
fzzr-/CodeMirror2
galambalazs/CodeMirror2
gavriguy/CodeMirror2
greengiant/CodeMirror2
gzdw/CodeMirror2
hans/CodeMirror2
hanxianlong/CodeMirror2
ibdknox/CodeMirror
idflood/CodeMirror2
iee/CodeMirror2
infinnity/CodeMirror2
ingrid/CodeMirror2
j6mes/CodeMirror2
jankeromnes/CodeMirror
jasondavis/CodeMirror2
jbrinkman/CodeMirror2
jem/CodeMirror2
jenlure/CodeMirror2
jimmyoneill/CodeMirror2
jmwong/CodeMirror2
jongalloway/CodeMirror2
jots/CodeMirror2
joycse06/CodeMirror2
jurisv/CodeMirror2
kaniga/CodeMirror2
kasei/CodeMirror2
kjetilk/CodeMirror2
koide/CodeMirror2
koops/CodeMirror2
krockot/CodeMirror2
larscwallin/CodeMirror2
leafo/CodeMirror2
lgastako/CodeMirror2
lm/CodeMirror2
lopuhin/CodeMirror2
luojun/CodeMirror2
maks/CodeMirror2
mamboer/CodeMirror2
manyanlong/CodeMirror2
martn/CodeMirror2
massemanet/CodeMirror
maxkirsch/CodeMirror2
mb-crt/CodeMirror2
mbarkhau/CodeMirror2
mbrevoort/CodeMirror2-xquery
mcelrath/CodeMirror2
metzen/CodeMirror2
michalliu/CodeMirror2
michelemostarda/CodeMirror2
mimecuvalo/CodeMirror2
misfo/CodeMirror2
moon2l/CodeMirror2
movabletype/CodeMirror2
mozes/CodeMirror2
mwmessin/CodeMirror2
mwpark/CodeMirror2
mylittletools/CodeMirror2
mzero/CodeMirror2
nathansobo/CodeMirror2
nazriel/CodeMirror2
ndebeiss/CodeMirror2
nguillaumin/CodeMirror2
nitrous-io-zz/CodeMirror
njx/CodeMirror
nlwillia/CodeMirror2
nvdnkpr/CodeMirror2
onkis/CodeMirror2
oozou/CodeMirror2
openube/CodeMirror2
oxling/CodeMirror2
panchalmukundak/CodeMirror2
pavelfeldman/CodeMirror
peteguhl/CodeMirror2
peterarmstrong/CodeMirror2
peterkroon/CodeMirror2
pombredanne/CodeMirror2
pplaquette/CodeMirror2
purplecabbage/CodeMirror2
rascalmicro/CodeMirror2
rduenasf/CodeMirror2
robermorales/CodeMirror2
robhawkes/CodeMirror2
samuela/CodeMirror2
satchit/CodeMirror2
seanmcgary/CodeMirror2
siefkenj/CodeMirror2
simoneau/CodeMirror2
skirmish/CodeMirror2
skoon/CodeMirror2
sourcelair/CodeMirror
sparkartgroup-archive/CodeMirror2
strax/CodeMirror2
syntagmatic/CodeMirror2
tarr11/CodeMirror2
timelyportfolio/codemirrorR
timjb/CodeMirror
tpiccinini/CodeMirror2
treeform/CodeMirror2
ttscoff/CodeMirror2
tvoliter/CodeMirror2
uboness/CodeMirror2
utahguy/CodeMirror2
vegastexteditor/CodeMirror2
vestimir/CodeMirror2
vmx/CodeMirror2
vodori/CodeMirror2
waywardmonkeys/CodeMirror
whalefood/CodeMirror2
wmchristie/CodeMirror2
wwwlicious/CodeMirror2
xsocher/CodeMirror2
youngrok/CodeMirror2
zarazi/CodeMirror2
zires/CodeMirror2
zptcsoft/CodeMirror
Nothing to show
...
Choose a Head Repository
codemirror/CodeMirror
Benvie/CodeMirror
BrendonSled/CodeMirror2
Brijen/CodeMirror2
CodePen/CodeMirrorEditor
DarioGT/CodeMirror2
GerHobbelt/CodeMirror2
GordonSmith/CodeMirror2
Gozala/CodeMirror
Kodowa/CodeMirror
MariusKarthaus/CodeMirror2
MichaelaIvanova/CodeMirror
NV/CodeMirror
Naatan/CodeMirror2
Nahrae/CodeMirror
Necrathex/CodeMirror2
NikhilS/CodeMirror2
Page-/CodeMirror2
ProPuke/CodeMirror2
Raynes/CodeMirror2
SimonWaldherrArchive/CodeMirror2
Suor/CodeMirror2
TheColorRed/CodeMirror2
TypedLambda/CodeMirror2
Visheshk/CodeMirror2
WebKutir/CodeMirror2
WolfgangKluge/CodeMirror2
achicu/CodeMirror2
adam-singer/CodeMirror2
adanlobato/CodeMirror2
adobe/CodeMirror2
aklaswad/CodeMirror2
alexey-k/CodeMirror2
amphro/CodeMirror2
ananyasen/CodeMirror2
andrecharland/CodeMirror2
ankit/CodeMirror2
areos/CodeMirror2
atul-bhouraskar/CodeMirror2
axtro/CodeMirror2
ayachi/CodeMirror2
benbunk/CodeMirror2
bengillies/CodeMirror2
billortell/CodeMirror2
blackvladimir/CodeMirror2
bnowel/CodeMirror2
borawjm/CodeMirror2
botelho/CodeMirror
bridger/CodeMirror2
bsletten/CodeMirror2
capacman/CodeMirror2
captn3m0/CodeMirror2
cethap/CodeMirror2
charles-cai/CodeMirror2
charlieroberts/CodeMirror2
chendeng/CodeMirror2
chris-morgan/CodeMirror2
cicloid/CodeMirror2
ciptard/CodeMirror2
clarkbox/CodeMirror2
clemos/CodeMirror2
cliffkoh/CodeMirror2
cloudgiant/CodeMirror2
codio/CodeMirror
contributed/CodeMirror2
dbja/CodeMirror2
deebugger/CodeMirror2
djiang/CodeMirror2
dparnell/CodeMirror2
durdn/CodeMirror2
dxw/CodeMirror2
dynosmurf/CodeMirror2
dyoo/CodeMirror2
ekhaled/CodeMirror2
espadrine/CodeMirror
est/CodeMirror2
existdissolve/CodeMirror2
fbuchinger/CodeMirror2
felmoon/CodeMirror2
femhub/CodeMirror2
flyabroad/CodeMirror2
fourchette/CodeMirror2
fpo123/CodeMirror2
fprochazka/CodeMirror2
frawa/TestCodeMirror2
fzzr-/CodeMirror2
galambalazs/CodeMirror2
gavriguy/CodeMirror2
greengiant/CodeMirror2
gzdw/CodeMirror2
hans/CodeMirror2
hanxianlong/CodeMirror2
ibdknox/CodeMirror
idflood/CodeMirror2
iee/CodeMirror2
infinnity/CodeMirror2
ingrid/CodeMirror2
j6mes/CodeMirror2
jankeromnes/CodeMirror
jasondavis/CodeMirror2
jbrinkman/CodeMirror2
jem/CodeMirror2
jenlure/CodeMirror2
jimmyoneill/CodeMirror2
jmwong/CodeMirror2
jongalloway/CodeMirror2
jots/CodeMirror2
joycse06/CodeMirror2
jurisv/CodeMirror2
kaniga/CodeMirror2
kasei/CodeMirror2
kjetilk/CodeMirror2
koide/CodeMirror2
koops/CodeMirror2
krockot/CodeMirror2
larscwallin/CodeMirror2
leafo/CodeMirror2
lgastako/CodeMirror2
lm/CodeMirror2
lopuhin/CodeMirror2
luojun/CodeMirror2
maks/CodeMirror2
mamboer/CodeMirror2
manyanlong/CodeMirror2
martn/CodeMirror2
massemanet/CodeMirror
maxkirsch/CodeMirror2
mb-crt/CodeMirror2
mbarkhau/CodeMirror2
mbrevoort/CodeMirror2-xquery
mcelrath/CodeMirror2
metzen/CodeMirror2
michalliu/CodeMirror2
michelemostarda/CodeMirror2
mimecuvalo/CodeMirror2
misfo/CodeMirror2
moon2l/CodeMirror2
movabletype/CodeMirror2
mozes/CodeMirror2
mwmessin/CodeMirror2
mwpark/CodeMirror2
mylittletools/CodeMirror2
mzero/CodeMirror2
nathansobo/CodeMirror2
nazriel/CodeMirror2
ndebeiss/CodeMirror2
nguillaumin/CodeMirror2
nitrous-io-zz/CodeMirror
njx/CodeMirror
nlwillia/CodeMirror2
nvdnkpr/CodeMirror2
onkis/CodeMirror2
oozou/CodeMirror2
openube/CodeMirror2
oxling/CodeMirror2
panchalmukundak/CodeMirror2
pavelfeldman/CodeMirror
peteguhl/CodeMirror2
peterarmstrong/CodeMirror2
peterkroon/CodeMirror2
pombredanne/CodeMirror2
pplaquette/CodeMirror2
purplecabbage/CodeMirror2
rascalmicro/CodeMirror2
rduenasf/CodeMirror2
robermorales/CodeMirror2
robhawkes/CodeMirror2
samuela/CodeMirror2
satchit/CodeMirror2
seanmcgary/CodeMirror2
siefkenj/CodeMirror2
simoneau/CodeMirror2
skirmish/CodeMirror2
skoon/CodeMirror2
sourcelair/CodeMirror
sparkartgroup-archive/CodeMirror2
strax/CodeMirror2
syntagmatic/CodeMirror2
tarr11/CodeMirror2
timelyportfolio/codemirrorR
timjb/CodeMirror
tpiccinini/CodeMirror2
treeform/CodeMirror2
ttscoff/CodeMirror2
tvoliter/CodeMirror2
uboness/CodeMirror2
utahguy/CodeMirror2
vegastexteditor/CodeMirror2
vestimir/CodeMirror2
vmx/CodeMirror2
vodori/CodeMirror2
waywardmonkeys/CodeMirror
whalefood/CodeMirror2
wmchristie/CodeMirror2
wwwlicious/CodeMirror2
xsocher/CodeMirror2
youngrok/CodeMirror2
zarazi/CodeMirror2
zires/CodeMirror2
zptcsoft/CodeMirror
Nothing to show
Commits on Oct 20, 2014
@marijnh marijnh Bump version number post-4.7 8f52819
@marijnh marijnh Saturate logo a little e1289d8
Commits on Oct 22, 2014
@randyburden @marijnh randyburden + marijnh [overlay mode demo] Fixed bug which highlighted the rest of the line
If "{{" was found, the code would highlight the rest of the line
regardless if a matching "}}" or "}}}" was found.
9ca51f3
@jparmenter @marijnh jparmenter + marijnh [gfm mode] Added strikethrough implementation 08183e4
@marijnh marijnh Don't re-highlight lines that were highlighted during drawing 7e9080a
Commits on Oct 23, 2014
@marijnh marijnh [solarized theme] Remove tab background character
It doesn't belong in a theme.
fb86924
Commits on Oct 24, 2014
@mightyguava mightyguava [vim] Fix bug that vim mode could not be disabled 7206ccc
@nightwing @mightyguava nightwing + mightyguava [vim] simplify selectBlock function b216b2a
@marijnh marijnh Link to new discussion forum 56dc38e
Commits on Oct 25, 2014
@nightwing @mightyguava nightwing + mightyguava [vim] improve handling of external selections eac6c9b
Commits on Oct 27, 2014
@marijnh marijnh [real-world uses] Add three links 5a78462
@marijnh marijnh Allow calling the constructor with null as place
Issue #2893
514b5bf
@marijnh marijnh [vim mode] Don't directly access .options 4902d07
@nightwing nightwing [vim] implement gu and gU f2459b2
Commits on Oct 28, 2014
@marijnh marijnh Support attach and detach methods for key maps
And adjust vim mode to use these.
f1870d8
@marijnh marijnh Allow non-normalized keys and multi-stroke keys in keymaps
As long as CodeMirror.normalizeKeyMap is called on them before they are
used. This interface is a little weird, but backwards-compatible.
b077d68
@marijnh marijnh Update the manual to reflect new keymap situation 94afd11
Commits on Oct 29, 2014
@marijnh Scott Goodhew + marijnh [meta addon] Added Django and RPM modes 5397cbe
@marijnh marijnh Don't blindly refresh on resize event, compare new size instead f88df5c
@marijnh marijnh [closebrackets demo] Make mode match editor content cb403a8
@marijnh marijnh [closebrackets addon] Count quotes as okay to autoclose in front of ebc66a3
Commits on Oct 30, 2014
@marijnh marijnh Work around Webkit wrapping issue
Issue #2901
aaec99e
Commits on Oct 31, 2014
@heppe heppe Workaround for an error in getting to insert mode. It was very diffic…
…ult to reproduce, and I don't know

what led to it, but the ">" mark was set but returned undefined when find() was called.  This should work
around the problem if it happens again.
117e252
Commits on Nov 02, 2014
@mightyguava mightyguava [vim] Make vim fail more gracefully 2b8106f
Commits on Nov 03, 2014
@Muffo @marijnh Muffo + marijnh [3024-day theme] Change color of matching bracket
The color white is not visible on the current backgroung
8173af6
@marijnh marijnh [markdown mode] Don't call tokenizer of code-block mode at end of line
Issue #2904
ef69044
@MarcelGerber @marijnh MarcelGerber + marijnh [markdown mode] Support leading whitespace in fencedCodeBlocks mode name 1e7cdbf
@marijnh marijnh [real-world uses] Add interactive SICP link 72cd628
@MarcelGerber @marijnh MarcelGerber + marijnh [markdown mode, mode meta info] Add mode aliases to meta.js, add more…
… aliases

Issue #2903
0c60c43
@marijnh marijnh [mode metainfo] Add findModeByName function e64cd58
@marijnh marijnh [markdown mode] Less complicated way of getting modes by name 263af5a
Commits on Nov 04, 2014
@MarcelGerber @marijnh MarcelGerber + marijnh Add getLineTokens method da3e8f2
@marijnh marijnh Clean up getLineTokens, add test
Issue #2908
71ef0cf
@marijnh marijnh [xml-hint addon] Properly complete tags when directly after > 5a400b6
Commits on Nov 06, 2014
@nightwing nightwing [vim] clear input state after search and ex commands
without this pressing / and then Esc doesn't clear status line
0c344f9
@nightwing nightwing [vim] cleanup db3d8c0
@nightwing nightwing [vim] handleKeys should return true after jk in insert mode b229ddd
@nightwing nightwing [vim] do not throw when entering insert mode a187f5b
@nightwing nightwing [vim] fix typeError when pressing wrong key in substitute confirm 9dfdf7c
Commits on Nov 07, 2014
@marijnh marijnh [authors list] Add a name dbd3381
@dalejung @marijnh dalejung + marijnh [markdown mode] Properly import mode/meta dependency
Issue #2914
2521014
@marijnh marijnh [project page] Remove confusing option from example
You won't get much effect from setting the mode option when
no modes are loaded.

Issue #2909
69b4a9c
@marijnh marijnh Add experimental scrollCursorIntoView event
Issue #2912
e2962a5
Commits on Nov 11, 2014
@marijnh marijnh Document scrollCursorIntoView event fa0294e
@marijnh marijnh [xml-hint addon] Work properly when the cursor is directly after < or </ 2c5d652
@marijnh marijnh [yaml mode] Highlight strings
This also helps closebrackets close quotes

Closes #2918
02dc00c
@parisk @marijnh parisk + marijnh [dockerfile mode] Add 0930f2b
@marijnh marijnh [dockerfile mode] Integrate
Issue #2888
efbd453
@lstagner @marijnh lstagner + marijnh [idl mode] Add a6cbaff
@marijnh marijnh [idl mode] Simplify and add hintWords support
Issue #2921
986e319
@marijnh marijnh [vim mode] Remove duplicated statement a9ee605
@marijnh marijnh [css mode] Slightly better heuristic for unrecognized props in nested…
… declarations

Issue #2922
c2306ed
@jaredly @marijnh jaredly + marijnh [javascript-hint addon] Allow a custom global scope
Defaults to `window`
c47adcc
@marijnh marijnh Fix association of modes with tokens for addModeClass
The mode associated with a token is now the inner mode at
the time when the token is started. The htmlmixed and markdown/gfm
modes were fixed to return empty tokens during mode switches
when necessary to enforce this rule.

Issue #2919
e9d3c12
@marijnh marijnh [overlay addon] Fix bad synchronization that was breaking gfm mode
Issue #2919
36eb2c5
Commits on Nov 12, 2014
@marijnh marijnh [ruby mode] Remove obsolete license link 2024a3f
@marijnh marijnh Allow keymaps to have a call property, which is called to look up bin…
…dings

Issue #2915
357485b
@gkoberger @marijnh gkoberger + marijnh [clike mode] Add Objective-C Support 199c90e
@marijnh marijnh [clike mode] Integrate Objective C dialect
Issue #2920
97f6064
@marijnh marijnh Allow styling of line gutter backgrounds
Also add support for "gutter" in add/removeLineClass.
8d159b6
Commits on Nov 15, 2014
@marijnh marijnh Suppress error in IE8/9 when initializing detached fc54c02
Commits on Nov 17, 2014
@marijnh marijnh Fix rmClass
Add tests
4bce534
Commits on Nov 19, 2014
@mightyguava mightyguava [vim] Visual mode rewrite
I'm rewriting the way that visual mode is written to:
1. Fix some tricky bugs, like #2913, and a couple I uncovered while doing this. (Unit tests updated)
2. Significantly simplify blockwise visual mode

The core of the changes here is that I'm creating a vim selection model. The selection model consists of

```
vim.sel.head
vim.sel.anchor
vim.visualMode
vim.visualLine
vim.visualBlock
```

I'm creating a 2-way binding between the vim and codemirror selection models. All motions now rely only on the vim selection model. Operators and actions still rely on the codemirror selection model, since they operate directly on the text.

Sorry for the gigantic change but I couldn't make it any smaller and still pass all the tests... I'm planning to delete `getSelectedAreaRange`, `getLastSelectedAreaRange`, and `selectBlock` in future changes as they are obsolete now that vim keeps its own selection model.

An added bonus here is that visual line mode now has a cursor that can be moved.
c78d76c
Commits on Nov 21, 2014
@marijnh marijnh [sql mode] Remove outdated comment 29b78d2
@marijnh marijnh [stex mode] Sanitize comment parsing ff4e640
@marijnh marijnh [stex mode] Set to two-space indentation 21576a3
@marijnh marijnh [stex mode] Reset tokenizer after blank line
This prevents a stray $ from setting the whole rest of
the document to math mode.

Closes #2928
ccddb1e
@marijnh marijnh [loadmode addon] Work with requirejs 13af2af
Commits on Nov 22, 2014
@bollwyvl @marijnh bollwyvl + marijnh [sparql mode] Update with more details from 1.1
- more style classes: operator, builtin, meta, brackets
- literal metas (@ and ^^)
- many more operators
- mime type and extension from spec
fc25da4
@bollwyvl @marijnh bollwyvl + marijnh [sparql mode] Property paths 096a20a
@marijnh marijnh Mark version 4.8.0 be9e01e