Community
Participate
Working Groups
Ctrl-X/Ctrl-C in the text-editor should cut/copy the current line, when nothing is selected.
We will not modify the behavior of Cut and Copy but there's already a "Cut Line" command that is not bound to a key sequence. You can bind it via Keys preference page (Text Editing category). In the future we might also provide a Copy Line command. This is covered by bug 23625. *** This bug has been marked as a duplicate of 23625 ***
Thanks for the hint. Unfortunately I cannot find it. Maybe you also should make it much easier to find some commands in the key-mappings-panel.
1. open prefs using Window > Preferences 2. navigate to keys via Workbench > Keys 3. click on the Modify tab 4. select "Text Editing" from the Category drop down 5. select "Cut Line" from the Name drop down HTH >Maybe you also should make >it much easier to find some commands in the key-mappings-panel. Agree. I think there's already a bug for this in Platform UI.
Sorry for the extremely late feed-back: Cut Line does NOT behave as expected by me (or any other IDEA-user): - if no text is selected, it works OK -> the current line is cut - if text is selected, it just delete the first selected line instead of the expected text
*** This bug has been marked as a duplicate of 60177 ***
It is no duplicate - please reread.
(In reply to comment #6) > It is no duplicate - please reread. Well, yes and no. The problem you mention in comment 4 is a dup (or at least fixed along with) bug 60177. And the copy issue is a duplicate of bug 23625. Bugzilla doesn't allow me to mark a bug as dup of more than one. So, I can either close this as dup of one of those two bugs or as INVALID. You to choose ;-).
I've looked at this bug and bug 23625 again and they are really the same. No clue why you reopened it in the first place 4.5 years ago. *** This bug has been marked as a duplicate of bug 23625 ***