Bug 218494

Summary: cursor positioning bug (jumping) with static word wrap at end of line
Product: [Applications] kile Reporter: neteler <neteler>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description neteler@gmail.com 2009-12-13 12:28:58 UTC
Version:           2.1-0.b3 (using KDE 4.3.2)
OS:                Linux
Installed from:    Mandriva RPMs

When using kile in static word wrap mode (80 chars), and inserting text
at the end of the line before the last word but attached to this word,
the word is shifted correctly to the next line when 80 chars are reached.
BUT: the cursor is not positioned into the first column of the next
row but *after* the shifted word.

example:

# existing row (assume almost full row, 80chars):
bla bla ...... bla

# user starts to insert "NEWWORD":
bla bla ...... NEWbla

# the last bla is wrapped around to next row along with new word:
bla bla ...... 
NEWObla
    ^  ^-- cursor here: wrong!
    |-- is should be there

... BUT the cursor is not positioned after "NEWO" in this
case but instead after "NEWObla"

Problem: the user happily continues to write and realizes that
he split his/her NEWWORD into NEWOblaORD.

Using: kile-2.1-0.b3 on Mandriva 2010.0
Comment 1 Michel Ludwig 2009-12-13 16:18:40 UTC

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