Bug 22832

Summary: Code select does not work when caret is at the begining of an identifier
Product: [Eclipse Project] JDT Reporter: Erich Gamma <erich_gamma>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Erich Gamma CLA 2002-08-26 08:43:14 EDT
Doing a code select when the caret is at the beginning of an identifier fails, 
e.g.
    int a= a.<CARET>foo();
returns no java elements, the expectation is to receive the method foo().

Code select works properly when executed at the end of an identifier foo<CARET>
( so the current behaviour appears inconsistent to the user.
Comment 1 David Audel CLA 2002-09-11 05:48:07 EDT
Fixed.
Comment 2 David Audel CLA 2002-09-18 09:13:06 EDT
Verified.