Skip to content
Snippets Groups Projects
  1. Sep 03, 2012
  2. Aug 31, 2012
    • Marijn Haverbeke's avatar
      Change the way highlighting information is updated · 846d043e
      Marijn Haverbeke authored
       - Background parsing now never goes past the visible part of the
         document.
      
       - We only store style information for lines that are actually visible
         (and then keep it cached).
      
       - When the document changes, background highlighting always
         re-highlights from the change to the end of the visible part.
      
       - Gets rid of compareState mode methods and the hairy heuristic that
         tried to simulate it when absent.
      
       - The onHighlightComplete callback was removed, since it no longer
         really applies -- the document is only fully parsed when scrolled
         to its end.
      
      This should help preserve memory (a huge document will no longer
      immediately have parser state and highlighting information built up
      for all lines, but only for the parts that you look at), and removes
      the pathological case when you, for example, are typing at the top of
      a huge XML document, and opening or closing a tag causes a whole
      re-highlight to cascade all the way to the bottom because the
      compareState will detect a change.
      
      Issue #688
      846d043e
    • Marijn Haverbeke's avatar
    • Marijn Haverbeke's avatar
    • 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
  3. Aug 30, 2012
  4. Aug 29, 2012
  5. Aug 28, 2012
  6. Aug 27, 2012
Loading