I just tested that feature in Code::Blocks CVS (29-Jun-05), compiled with wxWidgets 2.6.1 and it crashes lovely.
I compiled it without debug symbols so I cannot point to the right place it's happening, even though the crashing error is:
codeblocks.exe caused an Access Violation at location 0050b50c in module wxmsw26_stc_gcc_custom.dll Reading from location 00000000.
In other words, trying to read a NULL pointer inside STC.
Another way to implement that feature, as I've seen in other editors, is calling grep. It could be considered.
I would also like to corroborate the error is really happening so, anybody else willing to crash it?