atom-hard-wrap icon indicating copy to clipboard operation
atom-hard-wrap copied to clipboard

Ending linefeed is removed

Open asbjornu opened this issue 9 years ago • 0 comments

First, thanks for creating this very useful package! I do have a small bug to report, though. When wrapping, it seems like selected linefeeds are removed. For example, when I mark the whole first line (place the marker on the line and press ⇧↓) below and wrap it:

- The first line should be limited to 50 characters and should not end with a period.
- Subsequent lines should be wrapped at 72 characters.

It looks like this afterwards:

- The first line should be limited to 50 characters and should not end with a
- period. - Subsequent lines should be wrapped at 72 characters.

If I don't mark the entire row (instead press ⇧⌘→) and thus excluding the linefeed from the selection, it is wrapped correctly. Having to exclude the ending linefeed from the selection is a bit annoying, since that makes selecting text a bit more fiddly.

asbjornu avatar Jan 28 '16 07:01 asbjornu