Bug 119832 - composer: line wraps too early
Summary: composer: line wraps too early
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 00:58 UTC by Marcel Martin
Modified: 2009-08-14 22:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Martin 2006-01-10 00:58:20 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
OS:                Linux

My composer is set to wrap after column 78. Options -> Wordwrap is enabled.

I typed sth. like this:
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu eeeeee
(66 'u', one <space>, six 'e')

It's all in one row since there are only 73 characters so far.

I then added another space, a slash and a few more characters until the line was full. Now suddenly the 'eeeeee' was moved to the second line:

uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu eeeeee /abcde

It seems the "eeeeee /abcd" was treated as one word. The problem only occurs when the first character of the last word is a slash.

Another funny thing to try out: Remove the slash and the 'eeeeee' will move up one row! Put it back in and it moves down again.
Comment 1 Marcel Martin 2006-01-10 01:03:35 UTC
Messed up formatting, sorry: A line break is missing after the second long string of 'u' characters.
Comment 2 Thiago Macieira 2006-01-10 02:14:14 UTC
Must be the anti-URL-wrapping code.
Comment 3 Martin Koller 2009-08-14 22:13:42 UTC
works in 4.3
Comment 4 Marcel Martin 2009-08-14 22:44:48 UTC
True, thanks for checking, I had forgotten about this bug report.