Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging punctuation when word wrapping #218

Open
rnapier opened this issue Jan 16, 2014 · 6 comments
Open

Hanging punctuation when word wrapping #218

rnapier opened this issue Jan 16, 2014 · 6 comments

Comments

@rnapier
Copy link

rnapier commented Jan 16, 2014

OS and OS version: OS X 10.9

Sublime Text Version: 3061

Did you tried to revert to a freshly installed state? Yes (ST3)

Bug Description:

Sublime Text 3 will leave some punctuation hanging at the end of the line incorrectly in word-wrap mode for plaintext (and markdown).

How to reproduce:

In word wrap mode this line will correctly wrap the trailing comma, but not the leading (parenthesis).

Will wrap as:

In word wrap mode this line will correctly wrap the trailing comma, but not the leading (
parenthesis).

Resize the window to see the opening parenthesis left hanging at the end of the line.

Left bracket ([) will also wrap incorrectly, but left curly brace ({) will wrap correctly.

@keith-hall
Copy link
Collaborator

keith-hall commented Feb 17, 2017

It would be great to have more control over soft wrapping behavior. Currently, it seems that tokens with the same scope aren't split (see https://forum.sublimetext.com/t/word-wrapping-in-latex-files-st-st2/1403/8), but there must be some special rules within that because obviously in Plain Text mode, all text has the same scope (https://forum.sublimetext.com/t/word-wrapping-issue/4363).

@fguada
Copy link

fguada commented Aug 19, 2017

I think this issue should be labeled major, not minor. SublimeText is marketed as "a sophisticated text editor for code, markup and prose." (My emphasis.) Correctly handling line wrapping is an extremely basic feature of any prose—i.e. plain text—editor, yet ST fails at it.

@quantbo
Copy link

quantbo commented Oct 14, 2019

This issue has been hanging (pun intended) around since 2014. Is anybody listening? Broken word wrapping is a major, not a minor, bug.

@athelas64
Copy link

This issue has been hanging (pun intended) around since 2014. Is anybody listening? Broken word wrapping is a major, not a minor, bug.

The issue has been labeled as enhancement How nice :-)
It is a major irritation but since it is not stopping people from usinng ST3 by large numbers, hence the priority... :-(

@FichteFoll
Copy link
Collaborator

Before you jump to conclusions, I most likely added these labels and I deem them appropriate. However, I am not part of the dev team.

@athelas64
Copy link

Before you jump to conclusions, I most likely added these labels and I deem them appropriate. However, I am not part of the dev team.

I am sorry and I apologize :-(
Thanks for clarification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants