Sublime Forum

Line wrapping deletes/moves quote marks

#1

Sublime Text
Version 3.0 Build 3143
running on Linux Mint 18.2 (Sonya)

Open a file and type this on one line:

“Don’t feel sorry for me,” he pleaded. “Tell me that I failed so that I can get over it.”

Set a ruler to 72 in Preferences.sublime-settings–User:

“rulers”:
[
72
],

Put the cursor on the line and select Edit | Wrap | Wrap paragraph at ruler. The line rewraps to this:

"Don’t feel sorry for me, he pleaded. Tell me that I failed so that I
"can get over it.

It drops three of the quotation marks and places a new one at the start of the second line. Is there a way to make this work? Working on books, I re-wrap a lot of text and this is repeatably broken for me. Thanks.

0 Likes

#2

the built in wrap_lines command is known to be quite buggy:


you could try a third party package (like one of those linked from those issues) for wrapping lines instead

1 Like

#3

Thank you. SublimeWrapPlus works correctly.

0 Likes