This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209605 - Duplicate line (CTRL+SHIFT+down/up) moves line
Summary: Duplicate line (CTRL+SHIFT+down/up) moves line
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
: 209945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-15 05:45 UTC by Tomas Mysik
Modified: 2012-03-27 11:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-03-15 05:45:24 UTC
Sorry, not sure where this issue belongs.

Shortcuts CTRL+SHIFT+up/down and ALT+SHIFT+up/down do the same thing - they both move the line. It used to work that one of them duplicated the line.

This is a regression introduced in the latest dev builds I would say.

Thanks.

Product Version: NetBeans IDE Dev (Build 20120315-18fc5b2d37dd)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.0.0-16-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Tomas Mysik 2012-03-15 05:46:01 UTC
BTW tested in a PHP file, with a clean userdir.
Comment 2 Tomas Mysik 2012-03-19 13:10:42 UTC
Sorry, reassigning since this bug is really really unpleasant. Please, reassign to a proper component if needed.

BTW I also noticed that there is no "Duplicate Line" action in shortcuts available - or am I wrong?

Thanks.
Comment 3 Tomas Mysik 2012-03-19 14:41:24 UTC
Míla told me that this issue could be yours, Dušane.

Thanks.
Comment 4 Dusan Balek 2012-03-20 15:38:55 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/5d1ee168d3b8
Comment 5 Quality Engineering 2012-03-21 12:04:18 UTC
Integrated into 'main-golden', will be available in build *201203210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5d1ee168d3b8
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #209605: Duplicate line (CTRL+SHIFT+down/up) moves line - fixed.
Comment 6 Jaroslav Tulach 2012-03-27 11:30:52 UTC
*** Bug 209945 has been marked as a duplicate of this bug. ***