[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kate/part
From: Tim Hutt <tdh29 () cam ! ac ! uk>
Date: 2006-08-27 18:33:31
Message-ID: 1156703611.396686.2262.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 577863 by thutt:
CCBUG: 113033
Fix "case ':':" and similar cases.
M +3 -1 kateautoindent.cpp
--- branches/KDE/3.5/kdelibs/kate/part/kateautoindent.cpp #577862:577863
@@ -1601,7 +1601,9 @@
{
if (!whitespaceFound)
{
- if (lineContents.mid(indentFirst, n - indentFirst) == "class")
+ if (lineContents.mid(indentFirst, n - indentFirst) == "case")
+ return true;
+ else if (lineContents.mid(indentFirst, n - indentFirst) == "class")
return false;
whitespaceFound = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic