Permalink
Commits on Jun 7, 2011
  1. Mark release 2.02

    marijnh committed Jun 7, 2011
  2. Fix bug in selection model

    marijnh committed Jun 7, 2011
    Doing shift-left-arrow a few times and then shift-up a few times,
    you'd get weird jumping selections as you went up.
  3. Fix bug that prevented the line length to be updated in some cases

    marijnh committed Jun 7, 2011
    (Which would make horizonal scrollbars 'stick' after the wide lines had
    been deleted.)
  4. Fix selection bug on Safari

    marijnh committed Jun 7, 2011
    See comment in code for details. Fixes #90
  5. Make magic textarea popup transparent on browsers that support it

    marijnh committed Jun 7, 2011
    This remove the ugly white square popping up right before the
    context menu opens on right-click.
  6. More css sanity rules

    marijnh committed Jun 7, 2011
  7. Immediately re-highlight text when small changes are made

    marijnh committed Jun 7, 2011
    This prevents the 'flicker' of black text when typing in coloured
    elements.
  8. Make sure updateGutter always creates at least one node

    marijnh committed Jun 7, 2011
    It would raise an error on a hidden editor because showingTo was 0,
    causing no HTML to be produced, although further code assumed there
    would be at least one number.
    
    Fixes #110
  9. Stop escape key on IE

    marijnh committed Jun 7, 2011
    It causes random cursor movement and text deletion for some
    reason.
    
    Fixes #105
Commits on Jun 6, 2011
  1. Fix bug in input reading

    marijnh committed Jun 6, 2011
    When the selection included the end of a line, and you typed a
    character, it'd get the offsets wrong and duplicate the part of
    the line before the selection.
    
    Fixes #111
Commits on Jun 2, 2011
  1. Add a Lua mode

    marijnh committed Jun 2, 2011
Commits on Jun 1, 2011
  1. add forgotten files

    marijnh committed Jun 1, 2011
  2. Reset padding and margin for PRE elements inside the editor

    marijnh committed Jun 1, 2011
    This to solve issues with 'CSS reset' packages that gave PRE nodes
    a padding.
  3. Introduce an extra DIV for scrolling

    marijnh committed Jun 1, 2011
    This might break some client code.
    
    There is now a CodeMirror-scroll class that is used to provide the
    scrolling, rather than using the outer wrapper for this. This allows
    adding fat borders to the wrapper without causing glitches in
    cursor and mouse-click positioning.
Commits on May 31, 2011
  1. Remove awful font-loader hack

    marijnh committed May 31, 2011
  2. solved IE unspecified error

    galambalazs committed May 31, 2011
Commits on May 30, 2011
  1. More refined changed-line checking

    marijnh committed May 30, 2011
    Empty or almost-empty lines would cause the highlighter to stop
    highlighting, because they didn't get new styles, even when the
    styling of the lines around them was completely changed (for
    example when adding a script tag around something in HTML mixed
    mode)
Commits on May 26, 2011
  1. mark release 2.01

    marijnh committed May 26, 2011
  2. Prevent right-clicks from occasionally messing up the editor content

    marijnh committed May 26, 2011
    readInput would, in some cases, take effect even though our textarea
    was in context-menu-hack mode.
  3. Support editors in fixed-position elements

    marijnh committed May 26, 2011
    This might very well break something else, but passes my minimal tests.
  4. Add blankLine method to mode API

    marijnh committed May 26, 2011
    So that languages in which blank lines are significant can detect
    them.