Skip to content
Snippets Groups Projects
  1. Oct 20, 2014
  2. Oct 19, 2014
  3. Oct 16, 2014
  4. Oct 14, 2014
  5. Oct 08, 2014
  6. Oct 06, 2014
  7. Oct 03, 2014
  8. Oct 01, 2014
  9. Sep 26, 2014
  10. Sep 25, 2014
  11. Sep 17, 2014
  12. Sep 15, 2014
  13. Sep 09, 2014
  14. Sep 08, 2014
  15. Sep 01, 2014
  16. Aug 26, 2014
  17. Aug 21, 2014
  18. Aug 15, 2014
  19. Aug 14, 2014
  20. Jul 29, 2014
  21. Jul 28, 2014
  22. Jul 17, 2014
  23. Jul 11, 2014
  24. Jul 04, 2014
  25. Jun 27, 2014
  26. Jun 24, 2014
    • mtaran-google's avatar
      [comment addon] Avoid killing block comments outside selection · 009deb76
      mtaran-google authored
      Currently, if you perform the uncomment command with the cursor outside a single-line block comment, it will uncomment that block comment. This is unfortunate behavior for cases where the block comment is used to describe the parameter to a function like "foo(/* index */ 0)". It's also inconsistent: if you have a selection and a single-line block comment after the end of the selection, uncomment() will do nothing, however if you have a selection with a single-line block comment *before* the selection, it will line-comment out all the lines of the selection instead.
      
      This also isn't a complete fix, but significantly reduces the scope of the problem. For example if you have "/* foo */ bar /* baz */", uncomment() still does the wrong thing when the cursor is on foo or baz.
      009deb76
  27. Jun 23, 2014
Loading