CVS commit by cullmann: last one fixed crash, but this should be better to keep sane indent M +2 -2 katedocument.cpp 1.807 --- kdelibs/kate/part/katedocument.cpp #1.806:1.807 @@ -3061,7 +3061,7 @@ void KateDocument::newLine( KateTextCurs int pos = textLine->firstChar(); - // this needs testing, perhaps better length(), not sure of atm + // length should do the job better if (pos < 0) - pos = 0; + pos = textLine->length(); if (c.col() < pos)