Bug 103095 - [typing] Double-clicking closing bracket off by one
Summary: [typing] Double-clicking closing bracket off by one
Status: CLOSED DUPLICATE of bug 9503
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 18:27 EDT by Ingemar Allkvist CLA
Modified: 2012-04-08 07:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingemar Allkvist CLA 2005-07-07 18:27:17 EDT
Double click on the opening parenthesis works fine, but double clicking at the 
closing parenthesis seems "off by one".
For example try double clicking at the open & close parenthesis of this 
hideous statement:

Control validControl =
			( ( ( recentFocusControl instanceof Text &&
					((Text) recentFocusControl).getEditable
())
			|| recentFocusControl instanceof StyledText &&
			((StyledText) recentFocusControl).getEditable())) 
			&& !recentFocusControl.isDisposed()
			? recentFocusControl : null;
Comment 1 Dani Megert CLA 2005-07-11 05:49:06 EDT
This is in since 3.0 (or older).
Comment 2 Marc-André Laperle CLA 2012-04-06 08:54:02 EDT
I can't reproduce this, I'm using JDT 3.8.0.v20111130. Dani, does that work for you? Should this be closed?
Comment 3 Deepak Azad CLA 2012-04-08 07:01:26 EDT
This is likely bug 9503.

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