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

Bug 338745

Summary: command-d deletes line of text twice
Product: [Eclipse Project] Platform Reporter: burnabyjeff
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: prakash, remy.suen
Version: 4.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description burnabyjeff CLA 2011-03-02 16:53:54 EST
Build Identifier: 20110218-0911

When I use command-d as a shortcut to delete the current line of text, it deletes two lines of text.  When I go to the preferences/general/keys dialog, if I type command-d within the 'binding' field, TWO 'command-d' entries immediately appear.  This does not occur with any other command sequence; for instance, I can change it to command-j and use it to delete lines, and it works correctly.   There are no conflicts with command-d listed in the 'keys' dialog.

Reproducible: Always

Steps to Reproduce:
1. download and run a fresh copy of eclipse
2. create a new untitled text file (in the default workspace), type a few lines
3. use command-d to attempt to delete a single line
Comment 1 Remy Suen CLA 2011-03-02 18:37:31 EST
Sounds like bug 322019.
Comment 2 burnabyjeff CLA 2011-03-02 19:33:05 EST
(In reply to comment #1)
> Sounds like bug 322019.

Yes, you're right.  I will add some comments to bug 322019 shortly.
Comment 3 Prakash Rangaraj CLA 2011-03-03 01:12:27 EST
Marking as Duplicate

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