From: Eugen Zalinescu <Eugen.Z<alinescu@lo...> - 2006-10-24 17:46:25
I have a small problem. When commenting a line (Ctrl+D) it may become
too long and hence it is stripped and the end of it appears on the
second line. Hence I have to comment myself the second line. This would
not be a problem for a single line, but when commenting a big paragraph
you might not notice that some new uncommented lines have appeared. Thus
some undesired (an unnoticed) text might appear in the dvi.
Wouldn't it be possible to first strip the lines by supposing that the %
sign has been inserted and then to insert it effectively?
From: Vitor M. Pereira <vmpereir@fc...> - 2006-10-24 18:22:41
On Tuesday 24 October 2006 18:43, Eugen Zalinescu wrote:
> I have a small problem. When commenting a line (Ctrl+D) it may
> become too long and hence it is stripped and the end of it appears
> on the second line.
That happens because you are probably using "static word wrapping",
and katepart is breaking lines after some given nr. of columns. You
can avoid that using "dynamic word wrapping". Go to
-> Static Word wrap
...and uncheck the corresponding box, if checked.
(of course, "dynamic word wrapping" means that everything you write
without an explicit line break -- say a paragraph -- stays in the
same line of the source file and might appear as a single (long) line
when viewed with some other text editors. You might want to consider