[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-18 0:06:15
Message-ID: 20060818000615.9051.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-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! \
_______________________________________________ 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