parsing function parameters was bad idea, i have removed this part, but now if geany know class, then object initialization will not highlighted.

there is C style (class is unknown), it looks like C prototype

and this is C++ style (class is known)

there is another idea, if file type GEANY_FILETYPES_CPP or GEANY_FILETYPES_C will be available on Scintilla lexer side , then lexer may change highlighting behavior, for example don't highlight C-style prototypes at all, because they are looks like object initialization, which is used in C++ very often.

for example, don't highlight 'spaceText' part

std::string spaceText(virtualSpace, ' ');

what do you think?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.