Bug 50596 - Editor drops last character on line when pressing Enter
Summary: Editor drops last character on line when pressing Enter
Status: CLOSED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-12 11:30 UTC by Per Ångström
Modified: 2008-11-18 21:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Ångström 2002-11-12 11:30:50 UTC
Version:            (using KDE KDE 3.0.3)
Installed from:    SuSE RPMs
OS:          Linux

I have a very serious problem with the latest versions of KDevelop: 

For certain unusual characters, the editor will silently drop the last character on the line when I press Enter to make a line break.

The data loss seems to happen only with some characters: e.g., '§', '½', 'å', 'ö', and 'ä'.

I find that the version shipped with KDE 3.0 was the last one that didn't have this problem. The bug has caused me mysterious build errors and erroneous output.
Comment 1 Per Ångström 2002-11-15 12:57:24 UTC
The problem is worse than I imagined: if I copy some text that has lines that end with one of the problematic characters, those characters will silently be dropped when pasted. This is totally unacceptable!  I'm repeating the list of characters here, since it seems it got mangled when I posted: '
Comment 2 Harald Fernengel 2002-11-15 15:27:14 UTC
which version are you talking about? Which editor are you using? 
Comment 3 Per Ångström 2002-11-15 15:51:07 UTC
I have uninstalled KDevelop, so I cannot see the exact version, but it's the  one shipped with SuSE 8.1. The editor I'm talking about is KDevelop's built-in  one.  
Comment 4 Harald Fernengel 2002-11-15 15:59:47 UTC
KDevelop 2.x cannot handle non-latin1 characters. Note that non-latin1 characters 
are depreceated in source files anyways. 
Try the new KDevelop (gideon), it should work there. 
Comment 5 Per Ångström 2002-11-18 08:43:14 UTC
To my knowledge, these characters _are_ part of latin-1.   As I don't have a Gideon binary for SuSE, I cannot try it, but I hope somenone can make sure that the bug is gone, by copying some Ruby code that should expose the bug, into Gideon:  <code> text = %Q
Comment 6 Per Ångström 2002-11-18 08:48:40 UTC
Sorry, I was silly to use Konqueror (3.0.3) to enter my last comment; it removed all the line breaks. 
Comment 7 Caleb Tennis 2002-11-19 19:17:30 UTC
I just attempted to copy those characters in with gideon and it handled them okay.  I tried 
about every combination of editing I could think of, and they lived through it.