[Issue N32570] [Qt 3.2.x Regression] Text wrap madness

Ingo Klöcker kloecker at kde.org
Thu Oct 16 10:13:06 BST 2003


On Wednesday 15 October 2003 20:15, Martijn Klingens wrote:
> On Wednesday 15 October 2003 18:12, Ingo Klöcker wrote:
> > The solution is obviously not to break after '/'. If someone writes
> > two/ three he can easily add a space after the '/' in case he wants
> > a line break after the '/'. In fact that's what I've been doing all
> > the time. If OTOH Qt breaks after '/' then there's nothing the user
> > can do to prevent this (unless he completely disables
> > wordwrapping).
>
> That breaks the automatic formatting though. If you remove text in
> that paragraph (causing a reformat) you'd end up with an unwanted
> (and typographically incorrect) space.

Of course, I anticipated this (absolutely correct) reply. ;-)

[snip]
> In other words, the best would be the text wrapping recognizing URLs
> and adjusting its behaviour.

I agree. But I didn't propose this because AFAIU the implementation it's 
completely agnostic about the context. So the only solution I can see 
is a OnlyBreakAtWhiteSpace mode (which is basically what Marc 
requested).

> The next best would be the ability to 
> disable wrapping on '/' to at least fix anything not URL-related,
> like most wrapping texts. Anything else will break either KMail or
> the rest of the world as far as I can see it.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031016/4328f375/attachment.sig>


More information about the kde-core-devel mailing list