From kde-commits Sun Apr 17 21:17:27 2005 From: Christoph Cullmann Date: Sun, 17 Apr 2005 21:17:27 +0000 To: kde-commits Subject: kdelibs/kate/part Message-Id: <20050417211727.3497648A () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111377266206784 CVS commit by cullmann: true, me missed the the old condition was i-- and not --i M +1 -1 katehighlight.cpp 1.220 --- kdelibs/kate/part/katehighlight.cpp #1.219:1.220 @@ -1582,5 +1582,5 @@ void KateHighlighting::doHighlight ( Kat if (m_foldingIndentationSensitive) { bool noindent=false; - for(int i=ctx.size()-1; i>0; --i) { + for(int i=ctx.size()-1; i>=0; --i) { if (contextNum(ctx[i])->noIndentationBasedFolding) { noindent=true;