Bug 193543 - Inserting with static word wrap causes odd behavior;
Summary: Inserting with static word wrap causes odd behavior;
Status: RESOLVED DUPLICATE of bug 168534
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 20:03 UTC by Kevin Zollman
Modified: 2009-06-05 00:14 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 Kevin Zollman 2009-05-21 20:03:18 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

If static word wrap is turned on, and I insert a sentence before already existing text, the word wrap skips a word.  It's hard to describe, here's an example.

Start a text file with:

Hello I am a sentence.

Then place the cursor at the beginning of the document, before "hello" and type: "Hello, I am inserting a sentence to test word wrapping, it will produce odd results"

This produces the following text:

Hello, I am inserting a sentence to test word wrapping, it will produce odd\n
Helloresults I am a sentence.

(Where \n is the newline.)

Notice that although you were inserting before "Hello", the word wrapping moved the cursor after "Hello" and inserted the word "results".
Comment 1 Dominik Haumann 2009-06-05 00:14:33 UTC
Already known report, see bug #168534. Mark as duplicate.

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