Bug 69401 - kile ignores linebreaks and eats whitespaces
Summary: kile ignores linebreaks and eats whitespaces
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-30 23:17 UTC by arne anka
Modified: 2003-12-03 11:52 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 arne anka 2003-11-30 23:17:12 UTC
Version:           1.6 (using KDE 3.1.4)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.4.20

if a line gets longer then 80 chars and a wordwrap occurs, previous linebreaks disappear, which is odd -- even worse is, that btween the words formerly before and after the linebreak even whitespaces disappear:
abc
def 
becomes thus abcdef -- which is unwanted. i don't know wether this depends on the kate-pref "remove trailing spaces".
but the vanishing of linebreaks is really bad ...
Comment 1 Jeroen Wijnhout 2003-12-01 21:05:17 UTC
This is a Kate bug. I confirmed this with a CVS version of a few days ago (yes, I know it is not recent enough...).

Type a very long line (>80) without having static word wrap
a very <snip many characters> long line abc
def

Apply static word wrap and type an extra character in the long line, result:
a very <snip many characters> +1 long 
line abc def

expected:
a very <snip many characters> +1 long 
line abc 
def

best,
Jeroen
Comment 2 Christoph Cullmann 2003-12-02 21:31:22 UTC
Subject: Re:  kile ignores linebreaks and eats whitespaces

me can simply no get that: do you mean the following situation:

you have 2 lines: 1 long, ending with END, one normal, starting with START

sjdfkjsd kdjsfk jsdkljfkl j ....... END
START

and after apply word wrap you get:


sjdfkjsd kdjsfk jsdkljfkl j .....
.. END START

?

me does get:

sjdfkjsd kdjsfk jsdkljfkl j .....
.. END
START

same for the case that you have those both lines, turn the static word wrap on 
in the config and type something new in the long line, gets the same correct 
behaviour, do you have tested with CVS HEAD or KDE_3_1_BRANCH ?, is only 
fixed in HEAD

Comment 3 Jeroen Wijnhout 2003-12-02 21:55:58 UTC
Subject: Re:  kile ignores linebreaks and eats whitespaces

> sjdfkjsd kdjsfk jsdkljfkl j .....
> .. END
> START
>
> same for the case that you have those both lines, turn the static word wrap
> on in the config and type something new in the long line, gets the same
> correct behaviour, do you have tested with CVS HEAD or KDE_3_1_BRANCH ?, is
> only fixed in HEAD

Just updated my build, the bug seems gone. At least I can't reproduce it 
anymore. I think it is save to close the bug.

best,
Jeroen
Comment 4 arne anka 2003-12-03 11:40:17 UTC
can reproduce it with "kate 2.1 (using kde 3.1.4)", delivered by debian (Version: 4:3.1.3-1).
but i assume building kate from csv (and rebuilding kile?) should solve it.
Comment 5 Hamish Rodda 2003-12-03 11:52:05 UTC
That's the idea; except you'll only need to compile kate from kdelibs, not kile.

You might like to try Orth's debs: http://opendoorsoftware.com/cgi/http.pl?p=kdecvs

Please reopen if the problem persists with the latest code.