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 May 20, 2013
@marijnh marijnh Bump version number post-3.13 82752ca
Commits on May 21, 2013
@lynschinzer @marijnh lynschinzer + marijnh [vim keymap] Minor fixup for macro normalMode 51292d0
@marijnh marijnh [package.json] Use 'repository' rather than 'repositories' field
Apparently the second is no longer supported in npm 1.2 (?).
f8b2dcf
Commits on May 22, 2013
@4r2r @marijnh 4r2r + marijnh CodeMirror.multiplexingMode: added an innerStyle option and test.
Example usage: applying different color schemes to submodes.
3818137
@danheberden @marijnh danheberden + marijnh Add `bower.json` file for full bower compatibility. 45355b2
@marijnh marijnh [bower.json] Remove version field
Issue #1540
e766134
@marijnh marijnh Revert "[bower.json] Remove version field"
This reverts commit e766134.
1a70a1b
Commits on May 23, 2013
@marijnh marijnh Limit firing of redraws from resize events d07c547
@benkeen @marijnh benkeen + marijnh [smarty mode] Rewrite, Smarty 3 support added
Issue #956
65c74d5
@marijnh marijnh [trailingspace addon] Add 0b1a9f9
@marijnh marijnh [smarty mode] Fix lint errors 2daf724
Commits on May 24, 2013
@marijnh marijnh Remove unneeded cursor set at end of drag
(The mousemove events should already have taken care of that.)

Issue #1488
f531275
@marijnh marijnh Also fire beforeChange for undo/redo changes
But disable its update method in that case.

Issue #1539
6edd771
Commits on May 25, 2013
@marijnh marijnh Fix patch d07c547
The argument order to Delayed.set was wrong, and we actually
want to ensure that the resize fires at least every 100ms during
a resize, so that the display doesn't lag too much.
83fdc1e
Commits on May 27, 2013
@benkeen @marijnh benkeen + marijnh [smarty mode] bugfixes
- escaped quotes in strings now displayed properly
- whitespace no longer affects qualifiers
- parentheses properly highlighted
8e6b9f5
@jackolantern @marijnh jackolantern + marijnh [vim keymap] 'dd' now handles last line corretly.
Current behavior:
```
word1
word2

```
If the cursor is on the last line and 'dd' is executed, the buffer does
not change.

Expected behavior:
```
word1
word2
```
3f203d7
@marijnh marijnh Update Webkit spanAffectsWrapping hack to recognize some common Unico…
…de punctuation

Issue #1219
4c2fa07
Commits on May 28, 2013
@marijnh marijnh [comment addon] Fix bug in uncommenting line-commented blocks 9a50176
@marijnh marijnh [xml mode] Make else indentation style correspond to rest of project 8aaac44
@marijnh marijnh [xml-hint addon] Rewrite from scratch
Using some of the ideas from the html5 hinter. Can now
use a much richer source of hinting information, and also
completes properties and property values.
a85d89c
@marijnh marijnh [html-hint addon] Rewrite to reuse xml-hint instead of own hinting fu…
…nction
d23d058
@marijnh marijnh Work around IE bug where drag events get fired twice
Closes #1551
a22787f
@marijnh marijnh [javascript mode] More comma-handling tweaks
Issue #1443
c71f96f
@marijnh marijnh [xml-hint demo] Fix minor bug, add sponsor link a828fa1
@marijnh marijnh [xml-hint addon] Properly support single-quoted attributes c294a0c
Commits on May 29, 2013
@marijnh marijnh Remove setDragImage call for Safari (again)
Issue #332
b9e9d5c
@marijnh marijnh [xml-hint demo] Disable implicit completion on single candidate
When implicitly activating completion, it is undesirable.
a9d5b3b
@marijnh marijnh Fix partial-updating of lines with line widgets above them
Issue #1554
ba5554d
Commits on May 30, 2013
@marijnh marijnh Reset scrollbarwidth cache when window is resized
Zooming can produce different measurements.
3328ed0
@minrk @marijnh minrk + marijnh forgive one pixel in scrollbars
Sometimes I find that CodeMirror adds scrollbars inappropriately (most often due to browser zoom).
Digging around suggested that it is some non-integers resulting in rounding up the measured size,
and I haven't been able to find a case where the two values differ by more than one pixel, so simply setting the threshold one pixel higher seems to address the issue.

This PR forgives one pixel in the size comparison before drawing the scrollbars.
0bfab07
@marijnh marijnh Add handleMouseEvents option to markText and addLineWidget cd6540c
@marijnh marijnh Take top padding into account in "local" coordinate space, fix bug in…
… fromCoordSystem

Issue #1557
41aeb8a
@marijnh marijnh Add a lineAtHeight method
Issue #1556
b800af3
@marijnh marijnh [vim keymap] Fix reliance on bug in coordsChar fb6df7f
@marijnh marijnh [closebrackets addon] Add 'explode' feature
Issue #1552
a808849
@marijnh marijnh [show-hint addon] More complete documentation a092d98
@marijnh marijnh [show-hint addon] Make sure to clear state.completionActive when no m…
…atch is found
2e62847
@marijnh marijnh Add support for "window" coordinate system to charCoords/cursorCoords 8955ce4
@marijnh marijnh Remove explicit compensation for paddingTop in scrolling code
Local coords now include paddingTop.

Issue #1557
14fc698
@marijnh marijnh Another test that fails mysteriously on Travis' Phantom
(but not on my local one, or in a real browser)
97b3110
Commits on May 31, 2013
@mikeivanov @marijnh mikeivanov + marijnh Fix a non-word c2f527e
@marijnh marijnh Fix bug in measuring of lines with only collapsed elements
Closes #1559
83709e3
@marijnh marijnh Support a disableInput property on keymaps
Stop suppressing key events for nofallthrough keymaps.

Issue #1558
f338135
Commits on Jun 02, 2013
@mightyguava @marijnh mightyguava + marijnh Change disableInput behavior to allow programmatic edits. 63a4981
@marijnh marijnh Fixup 63a4981
Issue #1565
c086444
@marijnh marijnh [closebrackets addon] Fix reference to removed variable
Issue #1552
88efc61
@mightyguava @marijnh mightyguava + marijnh [vim keymap] Add support for :sort 5e9bcf7
@marijnh marijnh [show-hint addon] (experiment) Add a container option 366c18b
Commits on Jun 03, 2013
@marijnh marijnh Fix bug that caused zero-length spans to occasionally survive edits
Issue #1561
7c72746
@marijnh marijnh Allow inline widgets to wrap again, measurement of their start and end de92ca1
Commits on Jun 04, 2013
@tfjgeorge @marijnh tfjgeorge + marijnh Update index.html. Fixed typo jsfiddle.net instead of jsfiddle.com 0bcc95a
@marijnh marijnh Fix bug where measuring the right of a wrapped inline widget broke at…
… end of line
9fcee65
Commits on Jun 05, 2013
@santec @marijnh santec + marijnh [sql mode] Minor fixes
* index.html included codemirror.js twice
* optimize .tableName syntax check
eafb2ca
@marijnh marijnh Fix bug that causes replacedWith widgets to hide lines 5f11052
@danielfaust @marijnh danielfaust + marijnh Update search.js
The variable "query" only contains the string version of the query, even if a regex has been submitted. "state.query" contains either a regex object or a string, depending on the input.
The function searchOverlay contains the neccessary logic to differientiate between these two types, indicating that the original purpose of it was that regexes should be highlighted accordingly.
Passing the "query" variable to searchOverlay fails to highlight regexes, for example case insensitive searches, and thus isn't in sync with the find next / find previous commands.
78f9b12
@marijnh marijnh [match-highlighter addon] Add showToken option ee79ca3
@marijnh marijnh Document disableInput property on keymaps d3ecd4e
@marijnh marijnh Add changeGeneration method, provide more module dirtiness tracking fec397d
@marijnh marijnh [emacs mode] Minor improvements, add the start of a test suite 1972620
@marijnh marijnh [emacs mode] Add Ctrl-Up/Ctrl-Down support 5ecc1e1
@marijnh marijnh [emacs mode] Add by-sentence and by-expression motion 0b20cf2
Commits on Jun 06, 2013
@marijnh marijnh [comment addon] Make toggleComment work on empty lines 44b8f45
@marijnh marijnh [emacs mode] Add Alt-G G, Alt-Space, Alt-; 4d90587
@marijnh marijnh [emacs mode] Add Ctrl-O, Ctrl-T 3871f25
@marijnh marijnh [emacs mode] Add Alt-C, Alt-U, Alt-L 25ff374
@marijnh marijnh Support integer 'how' argument to indentLine 4610b0b
@marijnh marijnh Fix bug where 'auto' keymap transitions didn't restore disableInput s…
…etting
b1f215e
@marijnh marijnh Fire events when keys are handled and input is read
(experimental, documentation will follow when finalized)
f920ac8
@marijnh marijnh [emacs mode] Add rough support for command prefixes 1517f70
@marijnh marijnh [emacs mode] Duplicate 'emacsy'/'basic' bindings
Make them support prefixes.
edde687
@marijnh marijnh [emacs mode] A few more expression-based bindings 272d69e
@marijnh marijnh [brace-fold addon] Allow single-line folds 9405960
@marijnh marijnh [foldcode addon] Modernize interface
(Old newFoldFunction interface preserved for backwards-compatibility.)
7f40a2b
@marijnh marijnh Don't leave gaps in selection under replacedWith ranges 95d5c84
@marijnh marijnh [show-hint addon] Change the mechanism by which keymaps are overridden
The old one was a horrible hack.
24d2f0e
@aslushnikov @marijnh aslushnikov + marijnh Do not call startWorker every 100ms on typing
When smth is typed into the CodeMirror editor
it schedules a job to rehighlight the next 500 lines of the document. This job
is intended to be executed in a 400ms time (as hardcoded in
`makeChangeSingleDocInEditor` method), but actually
400ms delay gets overwritten with 100ms delay which is set
from `updateDisplayInner` method.
The problem with this is that people hardly ever type 10 chars/second,
so the highlighter gets its time to rehighlight 500 lines of the
document while keydown events get postponed and user might feel some
slowleness.
6e56c7f
@marijnh marijnh Recommend standards mode for all browsers
Issue #1567
d547914
@marijnh marijnh [javascript mode] Add statementIndentUnit option, tweak indentation
Issue #1553
69e9473
@marijnh marijnh [javascript mode] Fixup patch 69e9473 36da87e
Commits on Jun 07, 2013
@marijnh marijnh Fix overzealous entering of folded spans in coordsChar 54961df
@marijnh marijnh Overhaul selection drawing algorithm again
To better deal with drawing selections around replacedWith widgets.
52e2302
@marijnh marijnh Fix bug in drawing of nested collapsed spans 031b45d
@marijnh marijnh [foldcode addon] Support scanUp and minFoldSize options b0afbbc
@marijnh marijnh [show-hint addon] Add closeOnUnfocus option 43948ec
@marijnh marijnh [brace-fold addon] Add includeRangeFinder and importRangeFinder
For folding Java and C/C++ style import/include blocks.
43aebd0
Commits on Jun 08, 2013
@mightyguava @marijnh mightyguava + marijnh [vim keymap] :substitute support to confirm each replace a236039
@santec @marijnh santec + marijnh [sql mode] charset casting syntax
* add support to "charsetCast" with syntax n str or N str or _charset str
* add example in index.html
f64bac3
@santec @marijnh santec + marijnh [sql mode] Add comments with links to supported syntaxes documentation de575f2
Commits on Jun 09, 2013
@lynschinzer @marijnh lynschinzer + marijnh [vim keymap] Repeat insert changes for A,I,a,i,caw,ciw 1a1ae42
@mightyguava @marijnh mightyguava + marijnh [vim keymap] Fixups for repeat insert mode changes
Cleans a lot of insert mode record/replay code.
Adds support for o and O.
Adds unit tests and fixes a lot of corner cases.
Fixes cw deleting trailing whitespace.
ebc3fa7
@mightyguava @marijnh mightyguava + marijnh [vim keymap] Add support for insert mode count repeat. 0864410
Commits on Jun 10, 2013
@mightyguava @marijnh mightyguava + marijnh [vim keymap] Rewrite insert mode change recording afa1b86
@santec @marijnh santec + marijnh [sql mode] Various improvements
 * More comments

 * MySQL/MariaDB: add \N as synonym of NULL

 * separate support.charsetCast (_utf8'str') from support.nCharCast (N'str')

 * oracle supports: nCharCast, zerolessFloat

 * comment which explains Mime Types properties
71c1015
@marijnh marijnh Export changeEnd utility
See #1581
ea47530
@marijnh marijnh Fix bug in character measuring code for line containing only a multi-…
…line widget
6c0a769
@marijnh marijnh Restore accidentally commited changes 9ea6f49
@santec @marijnh santec + marijnh [sql mode] fix zeroless float syntax 2a70c1f
Commits on Jun 12, 2013
@marijnh marijnh Have the linter take an optional directory argument 25b4a5f
@marijnh marijnh Measure size of inline widget *content*, not widget wrapper node
The height of an 'inline' element is pretty much meaningless.
40e527c
@santec @marijnh santec + marijnh [sql mode] MySQL/MariaDB: add client commands \! \? \. \# cf4f05d
@santec @marijnh santec + marijnh [sql mode] Add support.commentHash and support.commentSpaceRequired t…
…o support Oracle comments
0db3c6f
@santec @marijnh santec + marijnh [sql mode] New mime-type: x-cassandra
* add x-cassandra
* add support.doubleQuote
* add support.commentSlashSlash
d7bdc14
@spajus @marijnh spajus + marijnh [lint addon] Introduce CoffeeScript linter c00d86c
@jeffkenton @marijnh jeffkenton + marijnh [clike mode] Add shader language mode
New mime types x-shader/x-vertex (vertex shaders) and
x-shader/x-fragment.
27faa43
@marijnh marijnh [javascript mode] Add doubleIndentSwitch option
Default is still true.

Closes #1592
a75ba7e
@marijnh marijnh Fire events for DOM events that the editor handles
Deprecate onKeyEvent and onDragEvent
10a4a7a
@marijnh marijnh Ensure coordsChar sets 'after' properly for clicks before the start o…
…f line
ea47c30
@marijnh marijnh Better solution to storing relative x position in coordsChar return v…
…alue

It now has an xRel property that can be -1, 0, or 1, rather than a boolean after.

This way, we can distinguish between precise matches and coords after the
returned position.
187a0cb
@marijnh marijnh Disable another test that fails on Phantom 61b939d
@marijnh marijnh Enable the linter for the keymap/ directory 3cf3cd4
@aeosynth @marijnh aeosynth + marijnh lint keymap
```
$ test/run.js
keymap/emacs.js: Trailing whitespace at line 184, column 71
keymap/emacs.js: Unused argument precise (109:25)
keymap/vim.js: Unexpected token (193:22)
```
d3665c3
@byroot @marijnh byroot + marijnh [ruby mode] Colorize instance variable interpolation in double quoted…
… strings
bb73aea
@marijnh marijnh [manual] Link to list of externally hosted addons 5f227ae
Commits on Jun 13, 2013
@marijnh marijnh Add heightAtLine method ff82d07
@marijnh marijnh [vim keymap] Fix bogus setTimeout call 839e47b
Commits on Jun 14, 2013
@byroot @marijnh byroot + marijnh [ruby mode] Various improvements
* Handle default string % literal for Ruby

  %{Hello World} == %q{Hello World}

  One gotcha though:

  5%(2) == 5 % 2

  Will be seen as a string, but it will be interpreted
  as the modulo operator by ruby.

* Variables names can't include a ? nor a !

* Improve symbols parsing rules

  - can be operators (e.g :+, :/, :-, :>>)
  - start with @ or $
  - end with !, ? or =
  - can't start by a digit

  Though when defined in reverse as hash keys (e.g {foo: 'bar'})

  - can only start with [a-zA-Z\_]
  - can't end with =

* Instance and class variables can't start by a digit but globals can be only digits

* Add some missing keywords

  Actually only __END__ is really a keyword.
  But __FILE__, __LINE__ and __dir__ are special variables so most editors highlight them as keywords.

* Several regexp improvements

  - Use the string-2 class for regexps like JS mode
  - Xonsider %r as a regexp
  - Handle interpolation inside regexps

  It allow to colorize properly stuffs like:

  ```ruby
/foo #{1 + 2}/
%r{foo #{@bar} baz}
```

* Fix parsing of brace enclosed string literals with interpolation

  As an example:

  ```ruby
%Q{foo #{42} baz #{26} fizz}
```
  The coloration was broken after the first interpolation.
2de0b1c
@santec @marijnh santec + marijnh [sql mode] number syntaxes with specific mime types
* hex not supported by cassandra
* binary not supported by cassandra
* new syntax: "1." (mysql,mariadb,oracle)
7fc7a1f
@marijnh marijnh Fix bug in addLineClass/removeLineClass
\b can match the inside of a class name (-).
321e53b
@njx @marijnh njx + marijnh Add 'precise' option to getTokenAt() and getStateBefore() that ignore…
…s possibly dirty line states
52558bf
@marijnh marijnh [resize demo] Restore doctype
Which had been accidentally removed.
313ea27
@marijnh marijnh IE10 fixes
Makes the test suite run again.

Main problem was an accidentally shadowed variable that was only
used on IE.

Closes #1607
e1567ed
@marijnh marijnh [real-world uses] Add WebKit Web inspector a6698dc
Commits on Jun 15, 2013
@marijnh marijnh Fix inverted computation of relative x in coordsChar f00bd25
@marijnh marijnh Fix problem with character measuring around widgets 5e26b0e
Commits on Jun 17, 2013
@ibdknox @marijnh ibdknox + marijnh fix typo from 5e26b0e
cm. -> builder.cm
d4e1b8c
@marijnh Joseph Pecoraro + marijnh Cmd-Backspace should delete from the start of the line to the cursor …
…on Mac
737d1b4
@marijnh marijnh [extra keymap] Add, including only move-line functionality
Issue #1616
b1c895c
@marijnh marijnh Make linter happy 6272823
@marijnh marijnh [xml-fold addon] Export findMatchingTag functionality d762b21
Commits on Jun 18, 2013
@marijnh marijnh Change representation of styles arrays
As a micro-optimization, and to prepare for the next patch.
a4d5985
@marijnh marijnh Add getTokenTypeAt method
Use it to make xml-fold more robust, and matchbrackets much faster.
c1df890
@marijnh marijnh [real-world uses] Add Quivive file manager 2ad8ba1
@marijnh marijnh [xml-fold addon] Add findEnclosingTag utility 5056a05
@marijnh marijnh Remove unused variable 4d2096b
@marijnh marijnh [xml-fold addon] Remove another unused var 10a12e1
Commits on Jun 19, 2013
@aeosynth @marijnh aeosynth + marijnh [vim keymap] Style tweaks
* simpler concat
* less escaping
* shave a line
* throw early
* throw new error
* single quotes
* format returns
* rm unneeded parens
* add whitespace
* re-add braces
93c931d
@marijnh marijnh [show-hint addon] Restructure
Also makes sure that no two hinting dialogs can be active at the
same time.

Issue #1619
66a3f01
@marijnh marijnh [merge addon] Initial add 641adad
@marijnh marijnh [show-hint addon] Fix problem with close event firing too late 4dee296
@0b10011 @marijnh 0b10011 + marijnh [markdown mode] Fix bug with two links or email addresses on same line. 03449c6
@0b10011 @marijnh 0b10011 + marijnh [test harness] Escape < and & in test input/results. 112fdb5
Commits on Jun 20, 2013
@marijnh marijnh Document inputRead and keyHandled events b609e8f
@marijnh marijnh Mark release 3.14.0 7e4a138