Skip to content
Snippets Groups Projects
  1. May 22, 2017
  2. Oct 07, 2015
  3. Sep 21, 2015
  4. Sep 09, 2015
    • Stephen Lavelle's avatar
      [haxe mode] Treat types as expressions when parsing an expression · 45adc4d3
      Stephen Lavelle authored
      Closes #3513
      
      Not 100% sure that this is the best way to deal with this - but if
      you're in an expression, and encounter what you think is a type, it's
      probably better to change your assumption and treat it as you would a
      variable/constant (Because that's what it probably is) rather than to
      forget everything.
      
      I ran the test suite, and it didn't break anything, and the linter,
      which was quiet.
      45adc4d3
    • Stephen Lavelle's avatar
      [haxe mode] Allow trailing commas in array literals · 698c8e53
      Stephen Lavelle authored
      Closes #3504
      
      (not *totally* confident about its correctness, but it looks like a
      plausible fix, and seems to work ok)
      698c8e53
    • Stephen Lavelle's avatar
      [haxe mode] A not-so-great fix to an indentation bug · c9fb71cf
      Stephen Lavelle authored
      Closes #3500
      
      I don't know if
      
      1) there's a way to get haxe to, while in functiondef, for instance,
         be able to tell the compiler that what it thought was a type name
         is actually a variable name, and to indent/highlight correctly
      
      or
      
      2) there's a way that, assuming it's a type name, to still indent
         correctly
      
      but it is possible to loosen the lexer to accept things marked as
      types as function names (in functiondef), and this fixes the
      indentation problem.
      c9fb71cf
  5. Sep 02, 2015
  6. Sep 01, 2015
  7. Oct 16, 2014
  8. Sep 23, 2014
  9. May 19, 2014
  10. May 09, 2014
  11. Apr 28, 2014
  12. Apr 09, 2014
  13. Apr 07, 2014
  14. Apr 01, 2014
  15. Mar 25, 2014
  16. Mar 22, 2014
  17. Jan 23, 2014
  18. Sep 23, 2013
  19. Aug 13, 2013
  20. Apr 02, 2013
  21. Jan 26, 2013
  22. Nov 07, 2012
  23. 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
  24. Aug 28, 2012
  25. Aug 03, 2012
  26. Aug 01, 2012
  27. Jun 30, 2012
    • Zachary Dremann's avatar
      Fixes for Haxe mode · 8663140a
      Zachary Dremann authored
      * Remove ":" from electricChars
      * Add compareStates function
      * Add keyword "using"
      * Fix anonymous type
      8663140a
  28. Jun 28, 2012
Loading