Bug 22832 - Code select does not work when caret is at the begining of an identifier
Summary: Code select does not work when caret is at the begining of an identifier
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-26 08:43 EDT by Erich Gamma CLA
Modified: 2002-09-18 09:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.