Messing around with symbol coloring and I've come across this small bug. I'm trying to make a rule for C++ that shows private and protected functions in italics. I'm using this code as my test case:
class Foo {
private:
void baz() {
0;
}
protected:
void bar() {
1;
}
public:
void goober() {
baz();
bar();
}
};
If my rule is "func, proto: Private scope", then baz() is displayed in italics. If my rule is "func, proto: Protected scope", then bar() is displayed in italics. However, if my rule is "func, proto: Protected scope, Private scope", then neither baz() nor bar() are displayed in italics.
-Evan