Commits on Jun 7, 2011
  1. Mark release 2.1

    marijnh committed Jun 7, 2011
  2. Support editor themes

    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).
    marijnh committed Apr 26, 2011
  3. Mark release 2.02

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

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

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

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

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

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

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

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

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

    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
    marijnh committed Jun 6, 2011
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

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

    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.
    marijnh committed Jun 1, 2011
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

    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
    marijnh committed May 30, 2011
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

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

    This might very well break something else, but passes my minimal tests.
    marijnh committed May 26, 2011