Bug 242685 - Kile does not wrap lines correctly
Summary: Kile does not wrap lines correctly
Status: RESOLVED DUPLICATE of bug 168534
Alias: None
Product: kile
Classification: Applications
Component: editor (show other bugs)
Version: 2.0.85
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 14:45 UTC by Thomas Damgaard
Modified: 2010-06-26 18:03 UTC (History)
0 users

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 Thomas Damgaard 2010-06-24 14:45:27 UTC
Version:           2.0.85 (using KDE 4.4.2) 
OS:                Linux

I have just tried Kile's Static line wrapping feature and found a bug:

If you type in text with words right of the cursor, the cursor is placed incorrectly, when a word is wrapped.



Reproducible: Didn't try

Steps to Reproduce:
1: Settings > Editor > Editing > Enabled static word wrap, wrap words at 80 characters.
2: Type (not paste) in the following text on an empty line:
zero one two three four five six seven eight nine ten eleven twelve thirteen
3: Then place the cursor just before the 't' in 'twelve'.
4: Now type (not paste) in the following key sequence: "abcdefghijklmnop".
5: Notice that when you typed 'n', the line was wrapped. This placed the cursor in the wrong place: it was placed in the right side of the word 'twelve'. 



Actual Results:  
Cursor is placed incorrectly.

Expected Results:  
After a word wrap, I would expect the cursor to be placed right after the last entered character.
Comment 1 Michel Ludwig 2010-06-26 18:03:08 UTC

*** This bug has been marked as a duplicate of bug 168534 ***