1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-03 13:43:31 +02:00

Fix for 56943 - CDT hang on Autobuild, added missing index marker icon

This commit is contained in:
Bogdan Gheorghe 2004-03-31 19:41:59 +00:00
parent e635fb93e7
commit affd1175f1
3 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,6 @@
2004-03-31 Bogdan Gheorghe
Added a check to SourceIndexRequestor.removeMarkers to prevent hang.
2004-03-31 Bogdan Gheorghe
Modified SourceIndexer and SourceIndexerRequestor to place IProblem markers
on resources.

View file

@ -538,7 +538,11 @@ public class SourceIndexerRequestor implements ISourceElementRequestor, IIndexCo
public void removeMarkers(IFile resource) {
int depth = IResource.DEPTH_INFINITE;
try {
IMarker[] markers = resource.findMarkers(ICModelMarker.INDEXER_MARKER,true,depth);
if (markers.length > 0){
resource.deleteMarkers(ICModelMarker.INDEXER_MARKER, true, depth);
}
} catch (CoreException e) {
// something went wrong
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B