Bug 304258 - Static word wrap breaks words at wrong positions
Summary: Static word wrap breaks words at wrong positions
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-29 21:26 UTC by Michel Ludwig
Modified: 2012-10-25 18:06 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 Michel Ludwig 2012-07-29 21:26:55 UTC
When using static word wrap, words that exceed the line length limit are broken up in two strings although they should not be.

Note that this problem only occurs in the 'master' branch and not in the 4.9 branch.

Reproducible: Always

Steps to Reproduce:
1. Type a word that 'hits' the line length limit. For example,       break|  (| indicates the limit)
2. Press space in front of break
Actual Results:  
Word is split up as:
      b    |
reak     |

Expected Results:  
Word should simply be moved to the next line:
           |
break   |
Comment 1 Christoph Cullmann 2012-10-21 11:38:59 UTC
:) Good that I only applied the patch post 4.9, to have more testing ;)
Reverted the changes for Bug 156561
Comment 2 Dominik Haumann 2012-10-25 16:04:21 UTC
Michel, can you please test again and close this bug, if it works for you again?
Comment 3 Michel Ludwig 2012-10-25 18:06:58 UTC
Ok, all good again :)