Bug 304258

Summary: Static word wrap breaks words at wrong positions
Product: [Applications] kate Reporter: Michel Ludwig <michel.ludwig>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: cullmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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 :)