Skip to content
Snippets Groups Projects
  1. Oct 18, 2012
  2. Oct 15, 2012
  3. Oct 04, 2012
  4. Oct 03, 2012
  5. Sep 18, 2012
  6. Sep 14, 2012
  7. 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
  8. Sep 10, 2012
  9. Sep 07, 2012
  10. Sep 05, 2012
    • Brandon Frohs's avatar
      [markdown mode] More improvements to parsing and tester. · 4e11167a
      Brandon Frohs authored
      Markdown mode
      
      - Add additional link tests and correctly match link titles on next
        line.
      
      - Adjust tests code so sections (including "Basics") can be rearranged
        and removed easily without breaking the script.
      
      - Add tests and fix highlighting for lists.
      
      Test harness
      
      - Sort styles in mode test script so "quote string" = "string quote".
      4e11167a
  11. Sep 04, 2012
    • Brandon Frohs's avatar
      [markdown mode] Improvements to parsing and tester · 75ff4561
      Brandon Frohs authored
      (Squashed commit. Below are the original commit messages:)
      
      - Add highlighting test for Markdown for consecutive backticks.
      
      - Make it possible to wrap inline code in multiple backticks.
      
      - Add highlighting test for Markdown mode to only allow a single space
        to separate brackets.
      
      - Make it possible to separate bracket groups with a space.
      
      - Allow for horizontal rules to use dashes.
      
      - Allow for *any* number of -'s or ='s for setex headers.
      
      - Remove requirement that the text for setext headers have to be
        highlighted.
      
      - Might revisit someday to work on this, but in the meantime, it's
        better to prevent regressions than to be picky about what would be
        highlighted in an ideal world.
      
      - Correctly match single line footnotes with title.
      
      - Match inline links in Markdown mode.
      
      - Don't match unclosed code blocks.
      
      - Get mode test highlighter in line with CodeMirror.highlight().
      
      - It would be nice to use all native functions, to avoid having to update this manually each time.
      
      - Fix tests per fixes made to mode test highlighter.
      
      - Properly handle multiple classes for mode tests.
      
      - More correct handling of EM and STRONG in Markdown mode.
      
        Per Markdown documentation: "You can use whichever style you prefer;
        the lone restriction is that the same character must be used to open
        and close an emphasis span." # This is the 15th commit message:
      
      - Allow escaping of * and _ by surrounding with spaces.
      
        Per Markdown documentation:
      
        "But if you surround an * or _ with spaces, it’ll be treated as a
        literal asterisk or underscore."
      
      - More correct support for inline code blocks.
      
      - Adjust Markdown highlighting tests to fit readability, rather than
        100% conformance with Markdown documentation.
      
        Although unclosed italics, bold, and inline code would not be
        formatted by a Markdown parser, it is extremely helpful to have the
        styles added even when it is not yet closed. It may be a good idea
        to add an 'incomplete' flag for each at some point, in order to
        style it (and mark it) as different. Perhaps piggyback off of
        "error".
      75ff4561
  12. Sep 03, 2012
  13. Aug 31, 2012
    • Marijn Haverbeke's avatar
      Modify the vertical sizing model once more · 288504cd
      Marijn Haverbeke authored
      Fixes a problem where the editor would always be 30 pixels smaller
      than its set height.
      
      The height is now set on the outer wrapper DIV again, and some
      height: 100% tricks are used to make height information flow
      both ways (inside-out in demo/resize.html mode, outside-in in
      normal, fixed-height mode).
      
      Closes #775
      288504cd
  14. Aug 29, 2012
  15. Aug 28, 2012
Loading