[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-03 7:21:54
Message-ID: 20060803072154.3537.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-03 09:21 -------
Oh yeah, forgot about gotos! (I never use them...).
How about: Indent (by which I mean unindent) if the text before the colon contains \
only valid label characters and whitespace, but not *just* whitespace:
foo::foo()
: dont_want_to_indent_this(1)
{
only_has_valid_label_chars:
string foo = "This works: Has an = and a \" before the :";
}
This would also automatically work for signals, slots, private slots, etc.
This bug is annoying me quite a lot because of these sort of statements:
cerr << "Error: Couldn't open file." << endl;
If you can tell me the appropriate place in kate to make the change, and roughly what \
to do then I'll give it a go. _______________________________________________
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