Version: (using KDE KDE 3.4.1) Installed from: SuSE RPMs OS: Linux With static word warp turned on, the "Comment"-Function (Ctrl + D) will as usual include the comment sign "% " at the beginning of each line. But on the other hand this causes a wrap of large lines. The wrapped words are then not commented as they should be.
I think this is a general Kate issue ...
And I won't change that, to fix it, is not trivial and language dependent
I won't challenge the "non-trivial" part, but I do wonder why it would be language dependend. Suppose you have a multi-line comment: word wrap doesn't matter at all. Now in case of a single-line commenting style, you could insert the single-line commenting thingy at the beginning of the wrapped line. best, Jeroen
It seems like a simple fix is available: while (a line is remaining in selection) insert comment string on first line wrap selection ("Join Lines") move to next uncommented line in selection end