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 Jan 23, 2014
@marijnh marijnh Bump version number 2539770
@marijnh marijnh Wrap all cursors in a div 196d5ca
@marijnh marijnh Move extend and shift flags out of selection objects f55cf18
@marijnh marijnh Rename confusing variable 71d992b
@marijnh marijnh Implement multiple selections
Issue #778
324ca9b
@marijnh marijnh Fix selection handling in indentSelection and killLine
Issue #778
c635493
@marijnh marijnh Refine and add tests for selection-related deletion commands
Issue #778
25197f4
@marijnh marijnh Make goLineStart[Smart] and goLineEnd work in multi-selection env
Issue #778
246e27c
@marijnh marijnh More selection command fixes and tests
Issue #778
c1cb205
@marijnh marijnh Simplify and organize click handling 5395b14
@marijnh marijnh Implement ctrl-click multi-selection
Issue #778
22f63cd
@marijnh marijnh Implement alt-drag rectangle-selection
Issue #778
1336462
@marijnh marijnh Implement line-per-selection paste
Issue #778
e012745
@marijnh marijnh [comment & continuecomment addons] Make multi-selection aware
Issue #778
8ca09be
@marijnh marijnh [matchbrackets addon] Make multi-selection aware
Issue #778
27ebe5e
@marijnh marijnh [closebrackets addon] Adjust to multi-selections
And fix example code in demo.

Issue #778
3b9fd60
@marijnh marijnh [closetag addon] Adjust to multi-selections
Issue #778
2f90a11
@marijnh marijnh [continuelist addon] Adjust to multi-selections
Issue #778
3185937
@marijnh marijnh [markselection and activeline addons] Adjust to multi-selections
Issue #778
4290648
@marijnh marijnh Small changes to make remaining addons play nice with multi-selection
Issue #778
09006cf
@marijnh marijnh [multiselect keymap] Add 722a7f4
@marijnh marijnh [tern addon] Add select-variable-instances functionality 765d3a9
@marijnh marijnh [doc toc script] More accurate active link highlighting 62827d6
@marijnh marijnh Document multiple selection API
Issue #778
7f01799
@marijnh marijnh Don't use .next properties in change event objects anymore 61253d2
@marijnh marijnh Add a v4 upgrade guide 451c9a8
@marijnh marijnh Wrap all modules in AMD and CommonJS-supporting shims 38073cd
@marijnh marijnh [javascript, xml, haxe modes] Fix strict-mode violations 3e7781d
@marijnh marijnh Fix bug in triple-click handling
Closes #1953
90450a9
@marijnh marijnh Get rid of stray remaining copyPos call 269e3ff
@marijnh marijnh Define 'singleSelection' command, bind Esc to it by default
Issue #778
7090abb
@marijnh marijnh [multiselect demo] Update binding list to reflect new Esc binding 25278ea
@marijnh marijnh Check for empty history in setSelectionAddToHistory
Issue #1961
59941da
@marijnh marijnh Fix right-click menu 6d14685
@marijnh marijnh Remove stray call to ES5-style indexOf
Closes #1989
25aee73
@marijnh marijnh [gfm and rst modes] Mark dependencies on overlay addon
Closes #2015
07a8e56
@marijnh marijnh Fix unintended change in anchor/head orientation on double-click
Issue #2038
0014d66
@marijnh marijnh Remove onDragEvent and onKeyEvent options c35d06a
@marijnh marijnh Change TextMarker.find to allow more control over result
And use this to cut some indirection in its callers.
0622080
@marijnh marijnh Upgrade in-tree acorn b9c1db5
@marijnh marijnh [linter] Check for reused loop variables 73a3efe
@marijnh marijnh Fix reused loop variable in readInput 010ca15
@marijnh marijnh [continuecomment addon] Fix another reused loop variable bd79a72
@marijnh marijnh Change data structure used to track rendered lines
Simplifies updateDisplay, remove lineObj property on DOM nodes.

Prepares the way for smarter updating, and maybe smarter measuring.

Breaks updating of lines without redrawing their widgets (which I
intend to implement in a better way in a subsequent patch).
214041a
@marijnh marijnh Stop adding `alignable` and `lineNumber` properties to DOM nodes df565bc
@marijnh marijnh Implement (somewhat) intelligent updating of lines
Changes to text, widgets, classes, and gutter are now separated.

For individual line changes, the DOM is updated for only the change,
rather than doing a full redraw on the line.
4a1c567
@marijnh marijnh New measurement model
Uses regular rendered lines, rather than a custom one-span-per-char
rendering, to measure lines.

Also makes rendering incremental -- no longer measures all characters
in a single go, but rather measures as-needed.

In this commit, the new model is implemented alongside the old one.
Subsequent commits will rip out the old code.
95dc4c8
@marijnh marijnh Remove the old measuring code. 565c8f3
@marijnh marijnh Set up a caching mechanism for the new measuring system. 957771b
@marijnh marijnh Try to arrange for no measurements to happen between changing and upd…
…ating the doc
18fc398
@marijnh marijnh Fix IE problems with the new measurement code. f36a26a
@marijnh marijnh Improve behavior on pre-15 Opera versions 224234d
@marijnh marijnh Workaround IE8 bugs in the new measuring system 1da7c7b
@marijnh marijnh [vim keymap] Switch to CodeMirror.Pos, fix mutation of shared object 8a5e61e
@marijnh marijnh Allow partial line updates in measureChar
This will occasionally save some work.
8315fe2
@marijnh marijnh [test suite] Shutting up PhantomJS ae7a18e
@marijnh marijnh Get rid of getRect helper 2d1e9ae
@marijnh marijnh Be more careful about interleaving DOM updates and reads 06cd26a
@marijnh marijnh Prevent selection from messing up scroll measurements
Follow-up to 0b2a68a
02523fb
@marijnh marijnh Fix corner case in measureChar
In IE, measuring in a hidden editor would cause a null deref
because getClientRects returned an empty array.

Issue #2095
bd3da14
@marijnh marijnh Fix left-alignment of horizontal scrollbar
Issue #2110
0fb2a22
@marijnh marijnh Remove unnecessary second operation in constructor b17b1eb
@marijnh marijnh Add control over scrolling to the cursor to selection methods
Stop ctrl-a from causing the doc to scroll all the way down.

Issue #1968
Issue #1936
2c7ae7e
@marijnh marijnh [linter] Remove exception for files that touch exports
Since now all files refer to it, it effectively broke
the global-variable whitelist functionality.
995f9f6
@marijnh marijnh Don't forget intermediate scrolling events during operations
So that scrolling down, and then scrolling something into view
will approach the thing scrolled into view from below.
79035c1
@marijnh marijnh Fixup before 7ce04a6
@marijnh marijnh Always prefix input in textarea with a bogus character
Issue #1196
a95091e
@marijnh marijnh Drop setLine and removeLine from the API 57c1984
@marijnh marijnh Fix bug in visibleLines
This caused a nonsensical viewport to be returned in some cases,
causing the editor to show up empty.
04447ab
Commits on Jan 24, 2014
@marijnh marijnh Fix resetInput to not confuse readInput when prim sel is empty but se…
…condary is not


Closes #2172
Closes #2173
Closes #2174
095610f
Commits on Jan 26, 2014
@marijnh marijnh Make alt-drag behavior match Ace and ST
Issue #2177
2d070ff
@marijnh marijnh Also set default scroll delta unit for IE11 e774441
@marijnh marijnh Remove old Less mode efec661
Commits on Jan 28, 2014
@marijnh marijnh Fix scrolling outer window after pageup/pagedown
Issue #2183
6d38609
@marijnh marijnh Work around setSelectionRange throwing when editor is hidden on FF 3c3003c
Commits on Jan 29, 2014
@marijnh marijnh Further tweaks to input kludge
Issue #1196

Makes sure placeholder text is restored after deleting it

Fixes problem with editor that is initialized when hidden, and
thus won't allow selectionStart/End to be set.
39e7c78
@marijnh marijnh Make alt-drag selection work on columns, not string indices
This makes the block align properly in the face of tabs
(given a monospaced font)

Closes #2189
8e79d65
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	addon/comment/continuecomment.js
	lib/codemirror.js
	mode/rpm/changes/index.html
3eef299
Commits on Jan 30, 2014
@marijnh marijnh Revert attempt to fix issue #1196 by keeping text in textarea
The Android virtual keyboard is apparently not looking
at that (at least not in a sane way).
532c8f3
Commits on Jan 31, 2014
@marijnh marijnh [closebrackets addon] Fix regression introducedy multi-cursor support
Closes #2205
5006395
@marijnh marijnh Add support for undoing/redoing selection dcdc9f8
@marijnh marijnh Add a findMarks method
Closes #2200
c78da36
@marijnh marijnh Fix charWidth to give accurate, fractional result 6aff0a6
@marijnh marijnh Optimize countColumn and findColumn f35fd4e
@marijnh marijnh [test driver] Sanitize skipping tests 5df3bcc
@marijnh marijnh Make alt-drag deal properly with tabs 396e722
Commits on Feb 03, 2014
@marijnh marijnh Fix highlightWorker to actually perform work
Closes #2211
a497336
Commits on Feb 04, 2014
@marijnh marijnh Documentation pass, part 1 (up to updateDisplay) 26eabb0
@marijnh marijnh Get rid of the viewChanged argument to updateDisplay
Use a more accurate way to determine whether a redraw is needed.
32c2630
Commits on Feb 05, 2014
@marijnh marijnh Documentation pass, part 2 (up to startOperation) 83be10a
@marijnh marijnh [bidi algorithm] Properly categorize zero-width non-joiners
Issue #2218
100ad84
@marijnh marijnh Documentation pass, part 3 (up to replaceRange) 77d8b7e
Commits on Feb 06, 2014
@marijnh marijnh Fix calls to updateDisplay passing bogus arguments
Broken by 32c2630
Closes #2222
cdece7b
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	mode/rst/rst.js
a506d85
@marijnh marijnh [runmode.node addon] Integrate with node's require mechanism
Mode dependencies are now loaded in a saner way.
7fbe538
@marijnh marijnh [vim keymap] Add missing copyCursor call 7a371ab
Commits on Feb 07, 2014
@mightyguava @marijnh mightyguava + marijnh [vim] Add multi-line support to testEdit() 53ae9a0
Commits on Feb 10, 2014
@marijnh marijnh Ensure initial op does a full draw
Even when the editor it set to resize to fit content.

Closes #2239
9cc134a
@marijnh marijnh Change makeHistory to be a regular constructor 628e914
@marijnh marijnh Fix selection undo, chunk 1 0455a7f
@marijnh marijnh Add a more serious implementation of selection history e6097a1
@marijnh marijnh Use a uniform export pattern ac8a75c
Commits on Feb 11, 2014
@marijnh marijnh Documentation pass, part 4 (the rest) 47444cd
@marijnh marijnh Work around unexpected rectangles from getClientRects in bidi text in FF
Closes #2248
c8ecc9a
@marijnh marijnh Fix selection being drawn over cursor
Closes #2237
2a1e042
@marijnh marijnh Fix problem in resize handler
Issue #2233
58dfe3b
@marijnh marijnh Fix confusion in measuring code
Closes #2247
d492a30
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	addon/comment/continuecomment.js
	lib/codemirror.js
        mode/puppet/puppet.js
b78c9d0
Commits on Feb 12, 2014
@marijnh marijnh Make selection position: relative again, same for cursor
Issue #2237
e1727ac
Commits on Feb 13, 2014
@bgilb @marijnh bgilb + marijnh [ruby mode] Fixes /= operator for highlighting
relates to #314
a8498f1
Commits on Feb 14, 2014
@marijnh marijnh Upgrade Acorn, use forbidReserved="everywhere" in linter 992c939
@marijnh marijnh Scroll at least one character around the cursor into view
(When lineWrapping is off.)

Issue #2254
60ee4fe
@marijnh marijnh Improve support for ctrl-click selection creation
Now supports double/triple clicks and alt-drag to create
word/line/rectangle selections in addition to the existing
selection.

Issue #2257
8a4cc91
Commits on Feb 17, 2014
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	lib/codemirror.js
630e896
@marijnh marijnh Fix inverted logic in visibleLines
Prevents one pointless display update when scrolling a position
into view.
77cf502
Commits on Feb 18, 2014
@marijnh marijnh Fix ordering of doc width adjustment and selection drawing
The selection's width depends on the doc width, so it has to
be drawn after adjusting that.

Issue #2256
a55732d
@marijnh marijnh [mode list] Remove top margin from column-spanning list 9d94ec4
@marijnh marijnh Fix sidebar layout
As screwed up by e1dcbeb
2a1cf9a
@marijnh marijnh [manual] Add a section on commands and default keybindings 919a3be
Commits on Feb 19, 2014
@marijnh marijnh [sublime keymap] Add 846e7b6
@marijnh marijnh [matchbrackets addon] Export scanForBracket method 98326d1
@marijnh marijnh [hardwrap addon] Add wrapLine command 1a4186f
@marijnh marijnh [foldcode addon] Add more commands de327de
@marijnh marijnh Add note about Sublime Text keymap to docs 192fd64
@marijnh marijnh [sublime keymap] Add by-word mode to selectNextOccurrence e9cc1e2
Commits on Feb 20, 2014
@njx @marijnh njx + marijnh Always check/restore focus around call to `patchDisplay()`
Prevents focus loss in line widgets when they're updated.
b0ce795
@marijnh marijnh Scroll cursor into view after un/redo
Closes #2278
d8c123e
@marijnh marijnh Fix bug in estimateCoords 98bd6cf
@marijnh marijnh Add the "changes" event
Issue #2281
ae2647c
Commits on Feb 21, 2014
@njx @marijnh njx + marijnh Record change objects even if only 'changes' event has a handler 5c27de5
Commits on Feb 23, 2014
@marijnh marijnh Fix bug in visibleLines, which could cause flickering during throw-sc…
…roll

Issue #2290
2899711
Commits on Feb 24, 2014
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	lib/codemirror.js
	package.json
b42322e
Commits on Feb 25, 2014
@marijnh marijnh Make adding something to selection history clear selection redo
Issue #2305
45bfdc2
@marijnh marijnh Don't merge non-overlapping selections in history
Issue #2305
2bc45f6
@marijnh marijnh Fix linter errors 479d4b2
@marijnh marijnh Enable selection-restoration hack for IE11 60d4f1e
Commits on Feb 26, 2014
@marijnh marijnh Fix problem in clipping the view for changes
To account for the fact that the set of folded lines might be
different post-change and pre-change.
e4363b8
@marijnh marijnh Fix delayed update of scroll height
Due to some elements still being stuck at the old height.
98dd809
@marijnh marijnh Initialize doc before display
Slightly simplifies constructor logic.
71ec021
Commits on Feb 28, 2014
@marijnh marijnh Fix bug in drawing selection behind collaping widget at end of line 3cbc201
@marijnh marijnh Remove stray console.log 8ba3a66
@marijnh marijnh [linter] Warn on console.* and debugger statements 485ab23
@njx @marijnh njx + marijnh [sublime keymap] When splitting selection, ignore last line if select…
…ion ends at beginning of line
0235324
Commits on Mar 03, 2014
@marijnh marijnh Include scrollerCutOff when computing scroll height
Closes #2321
105c4b1
@marijnh marijnh Move height setting out of updateScrollBars
Issue #2321
7d01407
@marijnh marijnh Pass an options object to selection methods
Require explicit turning on of history event merging.

Issue #2305
8cdb38c
Commits on Mar 04, 2014
@marijnh marijnh Bump historyEventDelay's default value to 1250
Issue #2305
0c78b3c
@njx @marijnh njx + marijnh [manual] Minor typo fix c261544
@marijnh marijnh Fix unstable horizontal scrolling near right side 669901b
Commits on Mar 05, 2014
@marijnh marijnh Fix bug in viewCuttingPoint
Issue #2332
858e6a0
@marijnh marijnh Make cursor motion between input cause separate history events
Issue #2305
47e5998
@marijnh marijnh Default the origin of replaceSelection to +input
Since it's what you want most of the time, and easy to forget.
9227120
@marijnh marijnh Fix bug in setting gutter height 365911d
Commits on Mar 07, 2014
@marijnh marijnh Change the way selection history is built, again
Issue #2305
8eaab79
@marijnh marijnh Log stack traces of test errors to the console e44da18
@marijnh marijnh Properly document change and selection origins
Issue #2305
8cbff72
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	lib/codemirror.js
b4715b9
Commits on Mar 09, 2014
@marijnh marijnh Restore redo selection history clearing when adding a selection to hi…
…story

Issue #2305
5289b00
Commits on Mar 10, 2014
@marijnh marijnh Better heuristic for inverting ranges in normalizeSelection bdbaaec
@chaitan94 @marijnh chaitan94 + marijnh [sublime keymap] Add support for shift-alt-up/down c7f2e70
@marijnh marijnh [sublime keymap] Fix coding style in 8eb523db08b80b0ff70728d9b71475ca…
…db2bcf93

Also, wrap the command in an operation and use the head rather than
the anchor of the selections.
1bf22d0
@marijnh marijnh [sublime keymap] Fix shift-ctrl-d binding
It should duplicate for every selection, and for non-empty selections
only duplicate the selected text.
3cb266d
@marijnh marijnh [sublime keymap] Add test for duplicateLineSelection 9245ce9
@marijnh marijnh Merge branch 'master' into v4
Conflicts:
	lib/codemirror.js
87e8df8
@marijnh marijnh Tag 4.0 release candidate 1 5dee39f
@marijnh marijnh Mention module loaders in upgrade_v4.html c4f8fd3
@marijnh marijnh [lint addon] Fix tooltips when page is scrolled 37d31d5
Commits on Mar 13, 2014
@marijnh marijnh Fix context menu (when no selection) on IE 906ff22
Commits on Mar 15, 2014
@marijnh marijnh Support 'shared' option to setBookmark
Issue #2360
4325270
@marijnh marijnh Always merge matching-origin selection event after change
Issue #2305
18e04b4
@marijnh marijnh Fix error when running undoSelection on empty history 4e24624
@marijnh marijnh Re-query selection state in onContextMenu
Issue #2369
4f385e6
@marijnh marijnh Size gutters properly when no scrollbar is present
Issue #2368
2007b3c
@marijnh marijnh In setSelections, default primary to old primary if not given
This makes it easier to update selections by mapping over them.
00e4259
@marijnh marijnh [sublime keymap] Fix behavior of swapLineUp from last line
Issue #2362

Also add origins to the changes generated.
3e745fa
@marijnh marijnh Fix test suite for 00e4259 8fc924e
@marijnh marijnh Prevent rounding errors from causing a phantom scrollbar on Firefox
Issue #2371
1954113
Commits on Mar 17, 2014
@marijnh marijnh Mention restriction on mutating internal data in upgrade guide 7ccbfac
@srajanpaliwal @marijnh srajanpaliwal + marijnh [sublime keymap] Add Ctrl-Enter and Shift-Ctrl-Enter 567d5d5
@marijnh marijnh [sublime keymap] Clean up ctrl-enter patch, add tests
Issue #2354
ec12939
@srajanpaliwal @marijnh srajanpaliwal + marijnh [sublime keymap] Added new bindings and corrected swaplines
"Shift-Ctrl-K"            Delete line
"Ctrl-K Ctrl-K"           Delete line to right
"Ctrl-K Ctrl-Backspace"   Delete line to left
Swapline                  scrolls with the cursor
7ec7ec0
@marijnh marijnh [sublime keymap] Fix formatting, delLineRight binding
Issue #2354
05ed565
@marijnh marijnh Mark 4.0 release candidate 2 afb56fa
@marijnh marijnh Remove extra.js keymap experiment
It has been superceded by keymap/sublime.js.
eda588e
Commits on Mar 18, 2014
@marijnh marijnh Remove fakedLastChar hack
Issue #1474 was the cause of this hack
Issue #2384 was apparently caused by it

Recent Webkit-ish browsers seem to no longer have the problem that
it was working around.
475b2be
@marijnh marijnh Better documentation for 'primary' arg to setSelections 8ee7635
@chaitan94 @marijnh chaitan94 + marijnh [sublime keymap] Ctrl-F3 and Ctrl-Shift-F3 bindings 38afa1e
@marijnh marijnh [sublime keymap] Fix findUnder, add test
Issue #2380
1696785
@marijnh marijnh [sublime demo] Make findUnder bindings show up f320103
@marijnh marijnh Fix bug in transposeChars command 37fcffb
@marijnh marijnh Fix read from wrong property in moveV method cca65b0
Commits on Mar 19, 2014
@dignifiedquire @marijnh dignifiedquire + marijnh Only call signalLater for "markerCleared" if cm exists. c563bc9
@marijnh marijnh Only call signalLater for "markerAdded" when cm exists
Issue #2390
9d80701
@marijnh marijnh Remove showIfHidden option to addLineWidget
(It wasn't working in the first place.)
690226b
@marijnh marijnh Notice height changes outside of viewport, update scrollbar whey they…
… happen
7c90979
@marijnh marijnh Fix lineAtHeight when asking past end, but last line is collapsed 3d7cf66
Commits on Mar 20, 2014
@marijnh marijnh [sublime keymap] Make Esc behavior conform to Sublime Text
Closes #2348
26bb8c4
@marijnh marijnh Improve handling of changing widget height in changed() method
Issue #2355
bdb0f16
@chaitan94 @marijnh chaitan94 + marijnh [sublime keymap] Ctrl+d should go back to top after reaching bottom 337e977
@marijnh marijnh [sublime keymap] Touch up 337e977 f55a136
@marijnh marijnh Fix typo in compression helper b593ebb
@marijnh marijnh Mark release 4.0 9d6fa77