Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Unexpected "Cut" behaviour
Unexpected "Cut" behaviour [message #1758355] Tue, 28 March 2017 03:04 Go to next message
Russ Michell is currently offline Russ MichellFriend
Messages: 1
Registered: March 2017
Junior Member
Using Neon.2 (4.6.2)

Eclipse's "Cut" behaviour is very puzzling to me, and I wonder if I'm doing it wrong!

Example: I have the text: "The Quick Brown Fox Jumps Over The Lazy Dog" all on one line. It is the _only_ thing on that line. Now I expect to be able to place my cursor anywhere in or on that line, press Ctrl+x and the whole line is gone, and copied to the clipboard. I shouldn't have to highlight anything.

Can anyone tell me how that might be done?

Thanks!
Re: Unexpected "Cut" behaviour [message #1758416 is a reply to message #1758355] Tue, 28 March 2017 13:47 Go to previous message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Ctrl+X cuts the selected text range. So you need to select something first.

Ctrl+D deletes the current line without the need for selecting anything, but does not copy it to the clipboard, so it is not cutting.

There is a "Cut Line" action in Eclipse, but there is no key binding assigned to it by default. You can do it in the General > Keys preference pages. For example, you can assign Ctrl+Shift+D. Make sure you select "Editing Text" in the "When" drop-down list.
Previous Topic:Different background colors for every language
Next Topic:Proposal vs include path
Goto Forum:
  


Current Time: Mon Sep 24 23:03:31 GMT 2018

Powered by FUDForum. Page generated in 0.01625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top