Backport: Bug [#2045]. LexCPP: Fix 'elif' token length
[ThreadSearch] Don't prepend tilde to search keyword
Yep, good to be back. :) Good news is I was able to finish rest of the changes needed to support function declaration lists. See the cc_fixes branch in my repo: https://github.com/gk7huki/codeblocks_sf/commits/cc_fixes The following patterns should now be supported: * function declarations list void f1(int*), *f2(), f3(float); -> void f1(int*); -> void *f2(); -> void f3(float); * function ptr declarations list void (*f1)(int*), *(*f2)() = XXX, (*f3)(float) = YYY; * obj list with constructor MyClass...
We need to handle comma as a terminator for function declarations (in HandleFunction()). It's not enough to support this case, but it's a start. Here's a preliminary patch.
Here's a patch updating lexer_cpp.sample with some inactive code block.
Can you show the same images without these changes? I've attached them. We already support inactive variants for other styles (see the attached styleslist.png), so I think it'd be nice to have inactive comment styles for completeness. We could add a #if 0 ... #endif block to the sample text to help preview these styles. It seems preprocessor styling is always enabled for the sample text window, even if the option is disabled in Editor settings. This should make things easier. Another option is to...
Can you show the same images without these changes? I've attached them. We already support inactive variants for other styles (see the attached styleslist.png), so I think it'd be nice to have inactive comment styles for completeness. We could add a #if 0 ... #endif block to the sample text to help preview these styles. It seems preprocessor styling is always enabled for the sample text window, even if the option is disabled in Editor settings. This should make things easier. Another option is to...
Can you show the same images without these changes? I've attached them. We already support inactive variants for other styles (see the attached styleslist.png), so I think it'd be nice to have inactive comment styles for completeness. We could add a #if 0 ... #endif block to the sample text to help preview these styles. It seems preprocessor styling is always enabled for the sample text window, even if the option is disabled in Editor settings. This should make things easier. Another option is to...