1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Fix for 95826: indexer message "File not indexed because it was not built" won't go away.

Info marker was missing INDEXER_MARKER_ORIGINATOR attribute.
This commit is contained in:
Vladimir Hirsl 2005-07-14 14:45:28 +00:00
parent 678a2355b2
commit 4c980d6ac9
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-07-14 Vladimir Hirsl
Fix for 95826: indexer message "File not indexed because it was not built" won't go away
Info marker was missing INDEXER_MARKER_ORIGINATOR attribute.
* index/org/eclipse/cdt/internal/core/index/domsourceindexer/AbstractIndexerRunner.java
2005-07-13 Vladimir Hirsl
Fix for PR 103428: IndexerManager leaks elementchangelisteners on reset()
In case of indexer thread restart after crash/shutdown previous listener is

View file

@ -149,6 +149,7 @@ public abstract class AbstractIndexerRunner implements IIndexerRunner, ICSearchC
IMarker marker = resource.createMarker(ICModelMarker.INDEXER_MARKER);
marker.setAttribute(IMarker.MESSAGE, message);
marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_INFO);
marker.setAttribute(INDEXER_MARKER_ORIGINATOR, originator.getFullPath().toString());
}
} catch (CoreException e) {}
}