Version: (using KDE KDE 3.0.99) Installed from: Debian testing/unstable Packages When writing long texts, I want the text to be wrapped within the msgstr field. Linebreaks within the text does not alter the output text, it's just convenient.
Subject: Re: New: Word wrap in message field On 1 Feb 2003, Gaute Hvoslef Kvalnes wrote: > When writing long texts, I want the text to be wrapped within the msgstr > field. Linebreaks within the text does not alter the output text, it's > just convenient. Would it be OK to use hard wrapping (inserting end of lines at a given column/end of current width)? Soft wrap (visual wrapping only) is a real problem for the current implementation. Stanislav
Yes, hard wrapping would be OK, but my fellow translators says soft wrapping would be even better. (Could KBabel use katepart?) Greetings from the Norwegian translator gathering in Oslo. Expect more bugs/wishes to follow ;-)
*** Bug 55067 has been marked as a duplicate of this bug. ***
Created attachment 1855 [details] virtual word wrap for Kbabel 3.1.2. This patch implements this feature to version 3.1.2. and replaces uses of QT's private QTextParagraph class with calls to the public API. The patch currently *forces* wrap on but it would probably be a good idea to make it optional. It's not a big deal but I just didn't feel like tweaking the GUI right after fighting with the character bounding box issue for hours.. Making a menu option to change parameter for setWordWrap() should suffice.
Created attachment 1865 [details] virtual word wrap for Kbabel CVS HEAD 2003-06-22 Attached the same patch for CVS HEAD (3.1.2 version of the patch merged with HEAD and manually cleaned up. Applies correctly and looks OK, but I haven't been able to compile because I'm have kdelibs 3.1.2, not the CVS version.)
Subject: kdesdk/kbabel/kbabel CVS commit by nanulo: Applied patch for bug #53832 (allow wordwrap) by elonen at iki fi CCMAIL: 53832@bugs.kde.org M +199 -153 mymultilineedit.cpp 1.101
BTW, HEAD should compile with kdelibs 3.1.x. I'd like to do a bit of testing and then apply to BRANCH as well.
HEAD will become 3.2 soon.
can you make also such thing (optional): delete all line breaks (#13) during ctrl+Space (i.e. filter text during copying from msgid to msgstr)?