Bug 9041

Summary: search: cannot create a sub-cu scope
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 6224    

Description Adam Kiezun CLA 2002-02-04 11:43:28 EST
you cannot create a search scope that is smaller that a cu
(the api doc suggests otherwise)

the whole enclosing cu is always included
Comment 1 Philipe Mulet CLA 2002-02-04 13:20:06 EST
Not critical.
Comment 2 Jerome Lanneluc CLA 2002-02-06 08:29:27 EST
Sub-cu java elements are now remembered in the search scope. Method encloses
(IJavaElement) now ensure that one of the sub-cu java elements is equal to or 
is a parent of the given element