It might be tedious, but you could try updating all the structs to the following format:
typedef struct _struct_name
{
int member;
} struct_name;
That way, the struct has a name and the typedef has a name. I believe this is the standard way of defining typedef structs, anyhow.
I also think like the above poster, that the last brace should be visible.
But then the fold could take upto 3 lines, two of which would usually be blank (except for braces).
+ class CDolphin: public fish
{ // A dolphin class
};
-------------------------------------------------------
+ struct TShark
{
};
-------------------------------------------------------
At first glance, they just look like empty declarations. Personally, I think both braces should be left out. At any rate, I'm not sure if this is a C::B issue or a scintilla issue.
>At first glance, they just look like empty declarations.
? No, it should look like this (the line would go where the missing code is).
+ class CDolphin: public fish
{ // A dolphin class
-------------------------------------------------------
};
+ struct TShark
{
-------------------------------------------------------
};
Where is the source code for the folding? (I'll check it out.)