From a693c52f25f6d80e4950927f5136cf360318aefd Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Mon, 16 Feb 2004 19:34:09 +0000 Subject: [PATCH] new method getElementAtOffset() Change CElement.equals() --- core/org.eclipse.cdt.core/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/org.eclipse.cdt.core/ChangeLog b/core/org.eclipse.cdt.core/ChangeLog index f0d1bbf8118..cc02e0345fb 100644 --- a/core/org.eclipse.cdt.core/ChangeLog +++ b/core/org.eclipse.cdt.core/ChangeLog @@ -1,3 +1,14 @@ +2004-02-16 Alain Magloire + + Added new method getElementAtOffset(), with implementation + Possible classCastException in Translation.equals() corrected. + * model/org/eclipse/cdt/core/model/ITranslationUnit.java + * model/org/eclipse/cdt/internal/core/model/TranslationUnit.java + + CElement.exists() was doing the test by checking + if we add a corresponding resource. We change that + instead by looking if we have a valid CElementInfo. + * model/org/eclipse/cdt/internal/core/model/CElement.java 2004-02-10 Tanya Wolff Start of Fix for 51192: The defect is for all org.eclipse.cdt.core strings, but each package should be handled by respective component owners.