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:
parent
e635fb93e7
commit
affd1175f1
3 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
BIN
core/org.eclipse.cdt.ui/icons/full/obj16/unknown_obj.gif
Normal file
BIN
core/org.eclipse.cdt.ui/icons/full/obj16/unknown_obj.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 159 B |
Loading…
Add table
Reference in a new issue