Bug 3247 - SelectionEngine moves selection to enclosing token (1GCSD8D)
Summary: SelectionEngine moves selection to enclosing token (1GCSD8D)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:51 EDT by Jerome Lanneluc CLA
Modified: 2002-01-16 05:27 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2001-10-10 22:51:57 EDT
1. Create a Java project with IBM's rt.jar in its classpath.
	2. Create the following class:
[class X {
	CompilerError e;
}]
	3. Select 'Compiler' only 
	4. Open on selection
	5. Observe: CompilerError is open instead of Compiler.

NOTES:

JBL (4/26/2001 12:46:11 PM)
	SelectionEngine.checkSelection(...) causes the selection to be changed to 'CompilerError'
Comment 1 DJ Houghton CLA 2001-10-23 23:52:48 EDT
PRODUCT VERSION:
	SDK 046

Comment 2 David Audel CLA 2002-01-16 05:27:07 EST
if identifier end is bigger than selection end, set value of identifier end to 
value of selection end

Fixed