Bug 125125

Summary: Static Word Wrap breaking a line that is not to be break
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Ronaldo Reis Júnior <chrysopa>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: christoph, j__n, kaabud-kde, neteler
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ronaldo Reis Júnior 2006-04-07 17:02:02 UTC
Version:           1.9 (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I use static word wrap at column 80.

But some time, the line must be break only in a dynamic way.

Look this example only for tests:

This is a long line that must be long.

ThisLineMustBeInASingleLineInThePDFWithoutSpace.ThisLineMustBeInASingleLineInThePDFWithoutSpace.

The kile break this line statically on column 80, like this:

ThisLineMustBeInASingleLineInThePDFWithoutSpace.ThisLineMustBeInASingleLineInThe
PDFWithoutSpace.

The compiled PDF version show not a long line, but a long line with a break.

I think that static word wrap must be used only in line with space between words, on lines without spaces, the dinamic word wrap must be used instead.

The same must be occour with a long latex command line. This must only be static wrap if I can put a space in command.

Do you undestand my terrible english?

Thanks
Ronaldo
Comment 1 Ronaldo Reis Júnior 2006-08-29 13:25:38 UTC
Anybody read this post?

This is another bug/problem that make the kile/latex users life dificult

Thanks
Ronaldo
Comment 2 Sofia Zaidenberg 2008-02-18 11:28:01 UTC
I'm having the same problem!
Nothing has been done?
Comment 3 Frederik Schwarzer 2008-07-17 01:35:19 UTC
With the kate part 3.1 (from kde 4) the line breaks at the full stop.
I.e.:
ThisLineMustBeInASingleLineInThePDFWithoutSpace.
ThisLineMustBeInASingleLineInThePDFWithoutSpace.
Comment 4 Sofia Zaidenberg 2008-07-17 10:56:42 UTC
the simple solution is to add a % at the end of the line when kile has inserted a wrong static wrap. this way the line break is commented and latex doesn't insert a space.
Comment 5 Dominik Haumann 2009-06-05 00:27:19 UTC
Is this issue still valid in KDE4?
Comment 6 neteler@gmail.com 2009-12-13 12:15:38 UTC
A similar problem arises when having URLS (typically long) in Latex comments. 
Wrapping destroys them, say, it breaks them (which could be ok) but in the
next row the % comment sign is missing! Result: the final PDF text is cluttered
with broken comments. Pretty risky as it needs careful proofreading...
Comment 7 Christoph Cullmann 2010-02-20 14:26:46 UTC
This is not a bug, because static word wrap just works fine, it does what it should. That it might be better, if it would do some language dependent adjustments, is true, but a wish. Therefor moving this to the wishlist section.
Comment 8 neteler@gmail.com 2010-02-20 19:37:02 UTC
I wouldn't consider destroyed URLS (typically long) in Latex comments a wish. It is moreover a PITA.
Comment 9 j__n 2010-03-05 00:19:15 UTC
I like the nano style of static word wrap.  It wraps when you add characters, but not when you delete characters, allowing me to use static word wrap in most cases, but I can manually override it _easily_ by deleting the line break.  A bit annoying, but at least I can override it without turning off static word wrap, like I have to do in kile/kwrite/kate.
Comment 10 Christoph Cullmann 2019-05-19 14:57:55 UTC
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it.

The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs.

Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.
If you want your feature to be implemented, please step up to provide some patch for it.

If you think it is really needed, you can reopen your request, but keep in mind,
if no new good arguments are made and no people get attracted to help out to implement it,
it will expire in a year again.

We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it.

Patches can be handed in via https://phabricator.kde.org/differential/

Greetings
Christoph Cullmann