Skip to content
Snippets Groups Projects
  1. Sep 20, 2012
  2. Sep 19, 2012
  3. Sep 18, 2012
  4. Sep 17, 2012
  5. Sep 14, 2012
  6. Sep 13, 2012
    • Marijn Haverbeke's avatar
      Fix tests · 0a706b39
      Marijn Haverbeke authored
      0a706b39
    • Marijn Haverbeke's avatar
      Use a set of object, rather than a huge closure, to store state · 022abb40
      Marijn Haverbeke authored
      Huge refactor of lib/codemirror.js. Most code is now top-level (in the
      module wrapper function) rather than inside of the CodeMirror
      constructor sharing a huge amount of state.
      
      A CodeMirror instance now has (non-public) `display`, `view`, and
      `options` properties that describe its state. The display holds the
      editor's DOM structure and associated state, view represents a view on
      a document, containing `doc`, `sel`, `overwrite`, `scrollTop`, and
      `scrollLeft` properties. The `doc` itself contains its history.
      
      (It is not yet possible to switch views and documents in and out of an
      editor, but this does start clearing the way towards that.)
      022abb40
  7. Sep 12, 2012
Loading