textmate/source.tmbundle — Issue #6: soft-wrap is confused by comment markers in comments
Author: skurfer
Created: 2012-01-05 13:35:27+00:00
State: open

For instance, this is what you would expect to see:

# Lorem ipsum dolor sit amet, consectetur adipisicing # elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.

But it ends up looking like this:

# Lorem ipsum dolor sit amet, consectetur adipisicing # elit, sed do eiusmod
tempor incididunt ut
labore et dolore magna
aliqua.

Or if the second `#` appears anywhere other than “the first line”, you get double indentation:

# Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore # et dolore magna aliqua.

The same is true using `//` comments in languages that support it.

Markdown lists don't seem to have the same problem. You get what you would expect:

* Lorem ipsum dolor sit amet, consectetur adipisicing * elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
* two
* three