Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 6764

Summary: Double-click inside brackets works differently when nested
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2001-12-10 15:23:33 EST
Build 20011206

In the following code,
((Boolean) e.widget.getData())

if I double-click just inside the inner brackets, it selects Boolean.
This is fine.

However,
If I double-click just inside the outer left bracket, it also selects Boolean.
If I double-click just inside the outer right bracket, it selects nothing.
I would expect it to select the whole expression (excluding the outer brackets) 
in both these cases.
Comment 1 Kai-Uwe Maetzel CLA 2002-02-06 06:28:56 EST

*** This bug has been marked as a duplicate of 9151 ***