Has anyone managed to get subgroups working in the function list? For example, I added the following to my C wordfile:
The arguments don't appear in my function list even though the pattern works (via the Find dialog).
Code: Select all
/TGBegin "Functions"
/TGFindStr = "^(?:\w+[ \t]+)+(\w+)[ \t]*\((?s:.+)\)[ \t\n]+\{"
/TGBegin "Arguments"
/TGFindStr = "[ \t]*([^,]+)"
/TGFindBStart = "("
/TGFindBEnd = ")"
/TGEnd
/TGEnd