Skip to content
Snippets Groups Projects
  1. Feb 11, 2017
  2. Sep 20, 2016
  3. Aug 15, 2016
  4. Apr 12, 2016
  5. Oct 16, 2015
  6. Oct 15, 2015
  7. Oct 20, 2014
  8. Aug 21, 2014
  9. 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
  10. May 19, 2014
  11. May 09, 2014
  12. Feb 11, 2014
  13. Jan 28, 2014
  14. Jan 23, 2014
  15. Jan 06, 2014
  16. Dec 09, 2013
  17. Nov 25, 2013
  18. Sep 05, 2013
  19. Aug 19, 2013
  20. Aug 09, 2013
  21. Jul 05, 2013
  22. Jun 06, 2013
  23. May 28, 2013
  24. May 13, 2013
Loading