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

Bug 292423

Summary: [nls tooling] Double-click selection works odd
Product: [Eclipse Project] JDT Reporter: Mohsen Saboorian <mohsens>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 3.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Mohsen Saboorian CLA 2009-10-15 11:39:17 EDT
In a .properties editor when double-clicking on the area before last word of the key part, it selects the whole kew from second character to the character before last one. For example in the following key-value pair, move mouse over area between 't' and 'y' and double click. It just selects 'wert':

qwerty = asdfgh


-- Configuration Details --
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.platform 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
Comment 1 Dani Megert CLA 2009-10-16 02:30:07 EDT
Cannot reproduce in Properties File Editor of Eclipse SDK R3.5.1.
Comment 2 Mohsen Saboorian CLA 2009-10-16 05:21:01 EDT
(In reply to comment #1)
> Cannot reproduce in Properties File Editor of Eclipse SDK R3.5.1.

Did you tested with Windows? My Eclipse version is the same.
Comment 3 Dani Megert CLA 2009-10-16 05:45:37 EDT
>Did you tested with Windows?
Yes. Maybe something in org.eclipse.epp.package.java.product causes it. Can you try the pure SDK: http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/index.php
Comment 4 Markus Keller CLA 2010-01-05 12:58:03 EST
Sounds very much like bug 280245, and I can indeed reproduce in M20091216-0800 but not in HEAD.

*** This bug has been marked as a duplicate of bug 280245 ***
Comment 5 Dani Megert CLA 2010-01-06 02:59:07 EST
>Sounds very much like bug 280245, and I can indeed reproduce in M20091216-0800
>but not in HEAD.
Sure not. Bug 280245 is about how punctuation (dot in particular) is handled and since this is not involved in the test case from comment 0 it's definitely not a duplicate of bug 280245.
Comment 6 Dani Megert CLA 2010-01-06 03:21:08 EST
Mea culpa!

My bad: I was too fast and assumed bug 280245 is the bug we recently had with the double-click strategy without looking at it :-(.

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