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