Commits on Jun 7, 2011
  1. Mark release 2.1

    marijnh committed Jun 7, 2011
  2. Support editor themes

    marijnh committed Apr 26, 2011
    This normalizes the classes used by most of the modes
    (reStructuredText and diff didn't fit in), and makes them all
    reference a central style sheet (under theme/). It also adds a theme
    option that can be set to change the theme, and defines a few
    different themes (some based on old mode colors).
  3. Mark release 2.02

    marijnh committed Jun 7, 2011
  4. 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.
  5. 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.)
  6. Fix selection bug on Safari

    marijnh committed Jun 7, 2011
    See comment in code for details. Fixes #90
  7. 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.
  8. More css sanity rules

    marijnh committed Jun 7, 2011
  9. 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
  10. 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
  11. Stop escape key on IE

    marijnh committed Jun 7, 2011
    It causes random cursor movement and text deletion for some
    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
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.