Permalink
Commits on Oct 30, 2012
  1. Added "dirty counter" so we can tell when the user has undone/redone …

    njx committed Oct 10, 2012
    …to the last point at which the document was marked clean.
  2. Reducing wheel-scroll flickering, take eleven

    marijnh committed Oct 30, 2012
    Issue #881
    
    Seeds the delta-to-pixel conversion with a value on browsers where
    we (possibly) know it. Don't stop the actual wheel event, but let
    it scroll normally, but use the estimated scroll delta to proactively
    draw the content that will be scrolled into view.
    
    Closes #913
  3. Fix coordinate system mismatch in updateSelectionRange

    marijnh committed Oct 30, 2012
    Closes #914
    Closes #915
Commits on Oct 29, 2012
  1. Only try to override escape key event keyCode on old IEs

    marijnh committed Oct 29, 2012
    It's no longer allowed on IE10, and not needed on IE9.
    
    Closes #911
  2. Add Farabi to real-world uses

    marijnh committed Oct 29, 2012
  3. Add defaultTextHeight method

    marijnh committed Oct 29, 2012
  4. Make lineIsHidden properly recognize lines filled up by collapsed spans

    marijnh committed Oct 29, 2012
    (It used to only notice when a single span filled the whole line.)
  5. Cache line measurement object inside cursorCoords and coordsChar

    marijnh committed Oct 29, 2012
    It's already cached globally, but such cache lookups are not that cheap.
  6. Fix tests on PhantomJS

    marijnh committed Oct 29, 2012
  7. Move to a new way of measuring character positions

    marijnh committed Oct 29, 2012
    Cut down on round-trips (and improve caching) by measuing all
    characters in a line at once, and caching the resulting object, rather
    than forcing an (expensive) DOM layout for every char that is
    measured, and caching per-char.
Commits on Oct 27, 2012
  1. Minimize some expensive loops in tests

    marijnh committed Oct 27, 2012
    That were used to find the precise width at which something wraps.
  2. Clean up collapsedSpanAt calls

    marijnh committed Oct 27, 2012
Commits on Oct 26, 2012
  1. Fix some aspects of folding demo

    marijnh committed Oct 26, 2012
  2. Add collapsed and replacedWith options to markText

    marijnh committed Oct 25, 2012
    To allow arbitrary folding of text, and replacement with widgets.
    
    Remove old line folding system.
  3. Fix tests on IE7

    marijnh committed Oct 26, 2012
  4. Fix accidental edit

    marijnh committed Oct 26, 2012
  5. Fix memoization of measureLine

    marijnh committed Oct 26, 2012
Commits on Oct 25, 2012
  1. Sort marked spans on creation, not on rendering

    marijnh committed Oct 25, 2012
    To prevent repeated re-sorting and general silly side effects.
  2. Refactor buildLineContent

    marijnh committed Oct 25, 2012
    .. to be a little less gigantic and convoluted.
  3. Fix missing braces

    marijnh committed Oct 25, 2012
  4. Remove leftover console.log

    marijnh committed Oct 25, 2012
  5. Add scrollIntoView method

    marijnh committed Oct 25, 2012
  6. Reset input on focus

    marijnh committed Oct 25, 2012
    Prevents weird side effects after setting the selection on an
    unfocused editor.