Version: 4.0.2 (using KDE 4.0.2) Installed from: Gentoo Packages In vim when you :set lbr it causes words to not break mid-sentence. Kate in KDE 3.5 used to do this automatically if dynamic word wrapping was enabled, now in KDE4 it breaks words mid sentence which is very annoying if your not using kate/kwrite for coding.
In KDE 3.5 KWrite 4.5.7 with default settings, dinamic wordwrap is enabled but words are not cut. In KDE 4.1 (svn trunk) KWrite 4.00.65 (why is it lower than in KDE 3???) Dynamic word wrap is enabled per default and cut words. We would like to get the KDE 3.5 behaviour per default.
*** Bug 160321 has been marked as a duplicate of this bug. ***
This appears to be fixed in 4.1.0 Beta 2 (4.0.83)
This appears NOT to be fixed in 4.0.83 using Kate 3.0.83, using Ubuntu paackages.
It IS fixed. I double checked in the KDE4Live disc, which is running 4.0.84. (The gentoo packages from #gentoo-kde4-live which were 4.0.83 also were fixed. Here's a screenshot to prove it. I think we are at 4.0.85 now.
Created attachment 25827 [details] It is fixed I cut out the rest of the desktop, so that I could reduce the file size.
SVN commit 821281 by rodda: Make katepart dynamically wrap at word boundaries, if possible. IIRC, this was disabled due to a bug in Qt which appears to have been fixed since qt 4.{0,1} against which it was written. bug:159134 M +1 -1 katerenderer.cpp trunk/KDE/kdelibs/kate/render/katerenderer.cpp #821280:821281 @@ -755,7 +755,7 @@ QTextOption opt; opt.setFlags(QTextOption::IncludeTrailingSpaces); opt.setTabStop(m_tabWidth * config()->fontMetrics().width(spaceChar)); - opt.setWrapMode(QTextOption::WrapAnywhere);//QTextOption::WrapAtWordBoundaryOrAnywhere); + opt.setWrapMode(QTextOption::WrapAtWordBoundaryOrAnywhere);