When Settings/Configure Editor/Editing/General
- Enable static word wrap : is set
- Show static word wrap marker : is set
- Wrap words at : shows 90 characters.
When there is a line already split on 2 lines on more because of the preceeding setting
One inserts characters immediately before the first character of the last word of the first line
If the insert leads to the word being wrapped on the second line, the insertion point will jump at the end of this word.
Given the following single line split in two by the word wrapping feature :
A12345 B12345 C12345 D12345 E12345 F12345
Let's say that, to the right of the last word of the first line (F12345) there is space for 2 characters before F12345 wraps to the second line.
Lets insert characters "abc" just before the F :
Result after inserting "ab" :
A12345 B12345 C12345 D12345 E12345 abF12345
Result after inserting c :
A12345 B12345 C12345 D12345 E12345
abF12345c G12345 H12345
The c is inserted at the end of the word rather than where it should be, following ab.
- This bug does not occurs if the line is not already split.
Known problem for all of kde-4.4 and all applications using katepart.
This was fixed in kde-4.5, but there is no backport. Not much we can do here...