Critical: fix case of runnaway kate -- happens if you insert 2 lines at the very end of a file with no extra line after the last '}' in other words, if you place your cursor at column 0 (right on the last '}') and hit enter twice to insert 2 lines.  Found while trying to fix code-folding .... sucks when you find bugs in one area while fixing code in another :-/
Critical: fix case of runnaway kate -- happens if you insert 2 lines at the
very end of a file with no extra line after the last '}' in other words, if
you place your cursor at column 0 (right on the last '}') and hit enter twice
to insert 2 lines.  Found while trying to fix code-folding .... sucks when you
find bugs in one area while fixing code in another :-/

svn path=/trunk/kdelibs/kate/; revision=259493

DickJ/kate,DickJ/kate,hlamer/kate,DickJ/kate,sandsmark/kate,sandsmark/kate,cmacq2/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,DickJ/kate,hlamer/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,cmacq2/kate,hlamer/kate,hlamer/kate,hlamer/kate,sandsmark/kate,hlamer/kate,cmacq2/kate,sandsmark/kate