Commits on Nov 21, 2012

  1. Don't don't re-focus a focused textarea

    It causes side effects on iOS
    
    On old IEs, don't do this check, since it sometimes raises weird
    exceptions, and re-focusing is harmless there.
    marijnh committed Nov 21, 2012
    Configuration menu
    Copy the full SHA
    2712372 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    846163a View commit details
    Browse the repository at this point in the history
  3. Fix scroll resetting in refresh() method

    Closes #987
    marijnh committed Nov 21, 2012
    Configuration menu
    Copy the full SHA
    b3d27b9 View commit details
    Browse the repository at this point in the history
  4. Rewrite formatting.js to use available mode tokenizer

    Remove a bunch of regexp kludges that never really worked.
    
    Will need to be tested more rigorously (I only tried the existing demo).
    marijnh committed Nov 21, 2012
    Configuration menu
    Copy the full SHA
    a2c6b43 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2012

  1. Configuration menu
    Copy the full SHA
    a43266f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f87c68e View commit details
    Browse the repository at this point in the history
  3. Remove autoClearEmptyLines

    That was a bad idea.
    marijnh committed Nov 22, 2012
    Configuration menu
    Copy the full SHA
    a387b83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    638ac86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    18a5f96 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f556d7e View commit details
    Browse the repository at this point in the history
  7. Make sure horizontal scroll events coming from the scroller are inter…

    …preted precisely
    
    Even when they move by only one pixel. This prevents the gutter from
    coming to rest in a one-pixel-off position.
    marijnh committed Nov 22, 2012
    Configuration menu
    Copy the full SHA
    860126b View commit details
    Browse the repository at this point in the history
  8. Add extendSelection and setExtending, clean up selection model

    The 'inverted' hack which hailed from the ancient times when selection
    was handled by the hidden textarea, has been replaced with a saner explicit
    anchor and head. setSelection now directly sets the anchor and head, rather
    than always creating a forward selection.
    marijnh committed Nov 22, 2012
    Configuration menu
    Copy the full SHA
    9dd6419 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2012

  1. [vim] Ctrl-[ leaves insert mode, same as <Esc>

    As a die-hard vim addict, long ago, I retrained myself to type Ctrl-[ to
    leave insert mode. This sends the same control sequence as escape in
    many other places, actually, and this patch brings this functionality to
    CodeMirror.
    
    From vim's :help ctrl-[
    
                                            *i_CTRL-[* *i_<Esc>*
    <Esc> or CTRL-[
        End insert or Replace mode, go back to Normal mode.
        Finish abbreviation.
        Note: If your <Esc> key is hard to hit on your keyboard, train
        yourself to use CTRL-[.
    
    Typing CTRL-[ is particularly easy when caps-lock is remapped
    to being another CTRL key, since now neither hand needs to move away
    form the homerow, and both little fingers just slide a little, the left
    little finger slides to the right to where caps lock used to be, and the
    right little finger slides a little bit up to the '[' key
    ivanov authored and marijnh committed Nov 26, 2012
    Configuration menu
    Copy the full SHA
    9552089 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    994fb8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77a5e68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16e1955 View commit details
    Browse the repository at this point in the history
  5. Prevent gutter flickering on horizontal scroll in IE

    Apparently, IE does a redraw as soon as you assign to scrollTop/scrollLeft.
    
    Closes #992
    marijnh committed Nov 26, 2012
    Configuration menu
    Copy the full SHA
    c335d1d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e23bc1 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2012

  1. Make htmlmixed properly check for "tag" style

    This allows the xml mode to return a style with space separated classes
    and still work. I didn't use /\btag\b/ since that can match "tag-foo".
    xeenon authored and marijnh committed Nov 27, 2012
    Configuration menu
    Copy the full SHA
    8809bb5 View commit details
    Browse the repository at this point in the history
  2. Move the previous mode property before adding mode extensions

    This stores the previous value for a mode property if an extension
    overwrites it with a new value. The old value is stored in a property
    prefixed with an underscore (e.g. "_token"). This allows extensions to
    piggyback the old value by still being able to access it.
    xeenon authored and marijnh committed Nov 27, 2012
    Configuration menu
    Copy the full SHA
    3157df5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    859a4e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    60eef02 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    21d1813 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19939b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2012

  1. Configuration menu
    Copy the full SHA
    2d74960 View commit details
    Browse the repository at this point in the history
  2. Add mode for HTTP messages (i.e. requests and responses) that follow …

    …RFC 2616
    Mason Malone authored and marijnh committed Nov 28, 2012
    Configuration menu
    Copy the full SHA
    fbf122f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f7df9b View commit details
    Browse the repository at this point in the history
  4. Integrate HTTP mode

    marijnh committed Nov 28, 2012
    Configuration menu
    Copy the full SHA
    16ffe00 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eaad14e View commit details
    Browse the repository at this point in the history
  6. Fix failing tests

    marijnh committed Nov 28, 2012
    Configuration menu
    Copy the full SHA
    1d06c05 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2012

  1. Configuration menu
    Copy the full SHA
    ccbcf73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16f61da View commit details
    Browse the repository at this point in the history
  3. fix extra indentation in array initialization

    array initialization (one entry per line) results in extra indentation from second element onwards:
    ex:-
    const string[] fields = {
      "one",
        "two",
        "three"
    };
    pydichandra authored and marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    0c98afb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5dcaaf1 View commit details
    Browse the repository at this point in the history
  5. Add addKeyMap and removeKeyMap methods

    Useful for add-ons that need to register keys.
    marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    f24ffb4 View commit details
    Browse the repository at this point in the history
  6. Half a closetag cleanup

    marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    1140306 View commit details
    Browse the repository at this point in the history
  7. [util/closetag] Rewrite using defineOption

    Closes #995
    marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    4052fbf View commit details
    Browse the repository at this point in the history
  8. Add missing semicolons

    marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    7214c38 View commit details
    Browse the repository at this point in the history
  9. [vim keymap] Full rewrite

    See discussion in #984
    mightyguava authored and marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    d97a00f View commit details
    Browse the repository at this point in the history
  10. Mark version 3.0rc2

    marijnh committed Nov 29, 2012
    Configuration menu
    Copy the full SHA
    933b72a View commit details
    Browse the repository at this point in the history