Sublime Forum

Problem with word wrap writing plain text

#1

Hi,
I´m testing ST2 for writing plain text with auto word wrap enabled. Sometimes it happens that the line brakes at the end of a sentence between word and dot. Like this:
1 word
2 .
This ony happens with “.” and not with “!;,?”
It seems like “word.” is not treated like a unit and split up when it comes to a line break.
Is it a bug or is there anything I can modify in the preference-file?
Thanks,
K.

0 Likes

#2

This is a bug in ST2. It has been addressed in ST3, though I recall there being some edge case where it still didn’t behave like expected. Though I could be wrong.

0 Likes

#3

Ok thanks… Looks like I have to wait for ST3 then…
Though this really looks like a problem that could be fixed quite easy…
And it is really the ONLY thing that´s not perfect for me about ST2, at least in the moment. I was looking for a platform independent alternative to kate (KDE) for a long time now. Then I found ST. And then this really odd “dot-problem”…

0 Likes

#4

This happens with all punctuation, it seems—I’ve just noticed it with a ] that got wrapped into being the first character of the next line. (Obviously, it should “stick” to the word before it and force that onto the next line if there isn’t room for the ] .)

In general, ST doesn’t seem to be a good solution for editing text, including Markdown. Some small bug fixes (to proportional fonts, for instance) could change that. I’d love to use ST as my Markdown editor, but I don’t think that’s going to work out for now.

0 Likes

#5

No, definitely not with ALL punctuation. As far as I can see, this only happens with:

.,(

and not with:

!"§$%&/=?;:

And ( are not really relevant to me, as I´m not writing code. I´m writing text, not even Markdown. Just plain text, articles for newspapers and magazines. And as I hate using MCWord for that, I started using text-editors a long time ago. Like Kate, mostly under Ubuntu Linux. What I always found extreamly useful was the possibility to have many open documents all sorted in one part of the screen (I´m using the two column layout), and writing in the other part of the screen and then being able to save all of this as a session/project. This works perfekt with ST. Then I was looking for a plugin to live-count characters during writing, for as a journalist I have to deliver text with a very specific length. ST ist the first editor I found who offers a plugin for this task. Also the minimap could be used as a tool to quickly check the length of a text at one glance…
So, I think, ST still has a lot of potential for me… :smile:

0 Likes