[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 113033] S&S style indenting sometimes behaves incorrectly with
From: Tim Hutt <tdh29 () cam ! ac ! uk>
Date: 2006-08-27 18:33:35
Message-ID: 20060827183335.13419.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=113033
------- Additional Comments From tdh29 cam ac uk 2006-08-27 20:33 -------
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;
}
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic