Skip to content
Snippets Groups Projects
  1. Mar 29, 2018
  2. Mar 24, 2018
  3. Mar 22, 2018
  4. 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
  5. Mar 20, 2018
  6. 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
  7. 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
  8. Mar 14, 2018
  9. Mar 12, 2018
  10. Mar 09, 2018
  11. Mar 08, 2018
  12. Mar 06, 2018
  13. Feb 22, 2018
  14. Feb 21, 2018
  15. Feb 20, 2018
  16. Feb 19, 2018
  17. Feb 15, 2018
    • ficristo's avatar
      [Dockerfile mode] Highlight strings and ports · 251a322b
      ficristo authored
      - highlight strings
      - highlight ports as numbers in expose instruction
      - highlight comments as such only when they appear at the start of a line
      - consider also ` as a line continuation
      251a322b
  18. Feb 14, 2018
  19. Feb 13, 2018
Loading