Skip to content
Snippets Groups Projects
  1. Aug 27, 2015
  2. May 11, 2015
  3. Jan 22, 2015
  4. Nov 11, 2014
    • Marijn Haverbeke's avatar
      Fix association of modes with tokens for addModeClass · e9d3c124
      Marijn Haverbeke authored
      The mode associated with a token is now the inner mode at
      the time when the token is started. The htmlmixed and markdown/gfm
      modes were fixed to return empty tokens during mode switches
      when necessary to enforce this rule.
      
      Issue #2919
      e9d3c124
  5. Oct 16, 2014
  6. Sep 23, 2014
  7. Sep 18, 2014
  8. May 19, 2014
  9. May 09, 2014
  10. Feb 17, 2014
  11. Jan 28, 2014
  12. Jan 23, 2014
  13. Dec 11, 2013
  14. Nov 13, 2013
  15. Aug 13, 2013
  16. Feb 21, 2013
  17. Feb 15, 2013
  18. Feb 14, 2013
  19. Feb 08, 2013
  20. Feb 03, 2013
  21. Feb 01, 2013
  22. Jan 31, 2013
  23. Jan 30, 2013
  24. Nov 27, 2012
  25. Nov 14, 2012
  26. Sep 12, 2012
  27. 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
  28. Aug 27, 2012
  29. Aug 03, 2012
  30. Aug 01, 2012
  31. Apr 04, 2012
  32. Apr 02, 2012
  33. Mar 14, 2012
  34. Dec 15, 2011
  35. Nov 28, 2011
  36. Oct 24, 2011
  37. Jul 02, 2011
Loading