- Sep 03, 2012
-
-
Marijn Haverbeke authored
Introduced in 846d043e Closes #779
-
- Aug 31, 2012
-
-
Marijn Haverbeke authored
- Background parsing now never goes past the visible part of the document. - We only store style information for lines that are actually visible (and then keep it cached). - When the document changes, background highlighting always re-highlights from the change to the end of the visible part. - Gets rid of compareState mode methods and the hairy heuristic that tried to simulate it when absent. - The onHighlightComplete callback was removed, since it no longer really applies -- the document is only fully parsed when scrolled to its end. This should help preserve memory (a huge document will no longer immediately have parser state and highlighting information built up for all lines, but only for the parts that you look at), and removes the pathological case when you, for example, are typing at the top of a huge XML document, and opening or closing a tag causes a whole re-highlight to cascade all the way to the bottom because the compareState will detect a change. Issue #688
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Fixes a problem where the editor would always be 30 pixels smaller than its set height. The height is now set on the outer wrapper DIV again, and some height: 100% tricks are used to make height information flow both ways (inside-out in demo/resize.html mode, outside-in in normal, fixed-height mode). Closes #775
-
- Aug 30, 2012
-
-
Marijn Haverbeke authored
Closes #773
-
- Aug 29, 2012
-
-
Marijn Haverbeke authored
The hack is horrible, but it seems to do the trick. Also simplifies context-menu handling somewhat. Issue #755
-
Marijn Haverbeke authored
Some things appear to trigger it to scroll, with very bad effects.
-
Marijn Haverbeke authored
Closes #759
-
Marijn Haverbeke authored
Closes #761
-
Marijn Haverbeke authored
Closes #764
-
Marijn Haverbeke authored
Fix bad rules in themes, measure width correctly.
-
Marijn Haverbeke authored
Closes #765
-
Marijn Haverbeke authored
It was passing undefined to setTimeout.
-
Marijn Haverbeke authored
Closes #763
-
Marijn Haverbeke authored
Closes #760 and fixes line backgrounds ending up behind editor background. Discussion in issue #762
-
- Aug 28, 2012
-
-
Marijn Haverbeke authored
By clipping its top/bot to the borders of the outer div
-
Marijn Haverbeke authored
The previous one broke line numbers
-
Marijn Haverbeke authored
A *real* cleanup / reorder is becoming painfully needed, but this'll at least make the tests pass.
-
Marijn Haverbeke authored
Add CodeMirror.defineOption function for defining new options. Add findMatchingBracket to the methods exported by this extension. Closes #746
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Prevents styled backgrounds from hiding the selection
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
It is now more structured (knows about ranges) and allows automatic unfolding when the cursor enters the folded range.
-
Marijn Haverbeke authored
This allows multiple handlers to listen for a single event, and makes the API a bit more uniform. Issue #725
-
Marijn Haverbeke authored
Makes Hebrew text mostly usable
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
This will make fixedGutter work properly, and make it the only model (no more gutter that scrolls out of view). Also reorganizes the basic css file to be easier to modify for users. Issue #730
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
Issue #294
-
Marijn Haverbeke authored
Get rid of eolSpanContent mess. Preparation for RTL text handling.
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
No more random {x,y,yBot} thrown into the mix.
-
Marijn Haverbeke authored
Experimental for now.
-
Marijn Haverbeke authored
- Multiple gutters are explicitly created with the gutters option - Markers go into a specific gutter, new setGutterMarker, clearGutter methods - The line number gutter is separate - The 'fixedGutter' feature is removed (painful to do now, was shaky anyway)
-
Marijn Haverbeke authored
Closes #738
-
- Aug 27, 2012
-
-
Marijn Haverbeke authored
-
Peter Kroon authored
When dragging there is no src attribute needed on the dummy image.
-