[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 113033] S&S style indenting sometimes behaves incorrectly with
From: Tim Hutt <tdh29 () cam ! ac ! uk>
Date: 2006-08-18 0:06:16
Message-ID: 20060818000616.9066.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=113033
------- Additional Comments From tdh29 cam ac uk 2006-08-18 02:06 -------
I found the place, and am going to implement it with one minor alteration - don't \
indent if the text before contains 'class'.
This still isn't 100% correct.
Now this would work properly:
namespace Trolltech
{
class QWidget : public QObject
{
};
}
But any labels with 'class' in them wouldn't:
void f()
{
****class_start:
int i = 10;
goto class_start;
}
However I believe the second case is far less common.
Also, I just build KDE 4 kdelibs/base to test it in - should have gone with KDE 3 as \
indentation is pretty broken in general in KDE 4!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic