Hello CDT community,
I have a problem with canceling a c/c++ search action.
I have a project which is having a preaty big pdom file(couple of Gs) and if I am trying to c/c++ search for a referece of a more generic function which is used in many places I am not able to cancel search action. In fact the action is finished just after all the processing is ready. So it does not metter if the cancel button is pressed or not.
After checking the code i saw that the most of the processing is done CSearchTextSelectionQuery and CSearchQuery classes . Unfortunatelly I don't see there a mechnism to stop the index processing in the middle of processing.
For other searches ( for example text searches) which are also time consumming the cancel button is working fine.
Is this a design problem or this is a regressing which I was able to find it with my unussual case?
Do you have a workaround ro prevent this issue or adding this monitor checking mechasim should be the only way to solve the problem?