Skip to content
Snippets Groups Projects
  1. Feb 14, 2017
  2. Dec 23, 2016
  3. Aug 04, 2016
  4. May 02, 2016
  5. Feb 02, 2016
  6. Oct 14, 2015
  7. Aug 27, 2015
  8. May 11, 2015
  9. Jan 22, 2015
  10. 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
  11. Oct 16, 2014
  12. Sep 23, 2014
  13. Sep 18, 2014
  14. May 19, 2014
  15. May 09, 2014
  16. Feb 17, 2014
  17. Jan 28, 2014
  18. Jan 23, 2014
  19. Dec 11, 2013
  20. Nov 13, 2013
  21. Aug 13, 2013
  22. Feb 21, 2013
  23. Feb 15, 2013
  24. Feb 14, 2013
  25. Feb 08, 2013
  26. Feb 03, 2013
  27. Feb 01, 2013
  28. Jan 31, 2013
  29. Jan 30, 2013
  30. Nov 27, 2012
  31. Nov 14, 2012
  32. Sep 12, 2012
  33. 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
  34. Aug 27, 2012
  35. Aug 03, 2012
  36. Aug 01, 2012
  37. Apr 04, 2012
  38. Apr 02, 2012
Loading