Skip to content
Snippets Groups Projects
  1. Apr 20, 2018
  2. Apr 15, 2018
  3. Apr 13, 2018
  4. Apr 12, 2018
  5. Apr 11, 2018
  6. Apr 04, 2018
  7. Apr 03, 2018
  8. Mar 29, 2018
  9. Mar 24, 2018
  10. Mar 22, 2018
  11. Mar 21, 2018
    • Raymond Hill's avatar
      [merge addon] Fix edge case arising when diff'ing empty strings · f56b0d2d
      Raymond Hill authored
      The merge view will incorrectly show a "Revert chunk" arrow when
      the text on both sides of the view are the empty string.
      
      The getChunks() helper is not prepared to deal with an empty diff
      array.
      
      The getDiff() helper returns an empty diff array when both strings
      to compare are empty, as the only diff item returned by
      diff_match_patch, `[0, ""]`, is removed as a result of the diff
      entry containing an empty string.
      
      The chosen (trivial) fix is to simply check for the empty diff
      array case at the top of getChunks().
      f56b0d2d
  12. Mar 20, 2018
  13. Mar 19, 2018
    • neon-dev's avatar
      [javascript-hint addon] Disable completion in json mode · 45d5e05a
      neon-dev authored
      When using the editor in "application/json" mode, the standard javascript autocompletion would show up once triggered. Although it's deactivated by default and doesn't make sense to enable autocompletion in JSON mode on its own, this change fixes incorrect completions once you combine the default completion with your own custom logic.
      45d5e05a
  14. Mar 17, 2018
    • Raymond Hill's avatar
      [merge addon] Use CSS :after to style scroll-lock icon · 261d10b8
      Raymond Hill authored
      Primary motivation was to remove the use of `innerHTML` because the
      Firefox extension validator raises a warning about this.
      
      The obvious solution is to use `textContent` instead of `innerHTML`
      but I thought it could be useful to have the ability to pick a
      custom visual for the scroll-lock icon.
      
      As per MDN documentation, all the supported browsers as per
      CodeMirror documentation support `:after`.
      261d10b8
  15. Mar 14, 2018
  16. Mar 12, 2018
  17. Mar 09, 2018
  18. Mar 08, 2018
  19. Mar 06, 2018
  20. Feb 22, 2018
Loading