when searching for todo items in a file, limit index update scope to this file (IDEA-53228)

This commit is contained in:
Eugene Zhuravlev
2010-03-25 20:22:29 +03:00
parent ad74d4de4c
commit d26d0b18f8
@@ -181,7 +181,7 @@ public class IndexCacheManagerImpl implements CacheManager{
count[0] += value.intValue();
return true;
}
}, GlobalSearchScope.allScope(myProject));
}, GlobalSearchScope.fileScope(myProject, file));
return count[0];
}