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.
For many releases Ctrl-Shift-Up and Ctrl-Shift-Down could be used to duplicate current line. In build 2012 03 19 this seems to be broken - rather it jumps up or down with some unpredictable logic.
Seems OK on build from 2012-03-23; do you use a standard keymap ?
Clean full build on Mar 26, changeset 85d5b6026ea2. Clean user directory. If I create empty .txt file and put there 1 2 3 position cursor on 2 and press Ctrl-Shift-Down then the result is 1 3 2 it should be 1 2 2 3
Jarda, probably you are facing a problem that I have talked about at NetCAT mailing list, the Duplicate Up/Down had their shortcut moved to Ctrl + Shift ,/. for a short period and now it is back again. You are firing the new Move code element Up/Down [1] action, which was already assigned for a different shortcut. Probably your repository wasn't merged with main yet? I can't reproduce this problem since last friday with my main build. I hope it can help you. [1] http://wiki.netbeans.org/NewAndNoteworthyNB72#Move_Code_Element_Up_and_Down
Possibly my sources are outdated. If the shortcut was changed for a while, this is very likely the case. It is possible to verify it by running hg log -r 'ancestor(85d5b6026ea2,the_change_set_that_reverted_the_shortcut_back)' if the result is 85d5b6026ea2, then I have outdated sources.
For the records - The change which moved around the key assignments was http://hg.netbeans.org/jet-main/rev/d5099ac46642 (13.3.2012). - the change which supposedly fixed this defect was http://hg.netbeans.org/jet-main/rev/5d1ee168d3b8 (made on 20.3.2012). - this defect is possibly a duplicate of defect #209520 The revision 85d5b6026ea2 did not arrive into jet-main (yet)
Oops :) I mean dup of defect #209520 ...
My repository state is just in middle of these changes: /ergonomics$ hg log -r d5099ac46642 changeset: 215173:d5099ac46642 user: Dusan Balek <dbalek@netbeans.org> date: Tue Mar 13 15:58:56 2012 +0100 summary: Issue #209520: Provide 'Move Code Element Up/Down' Actions - fixed. /ergonomics$ hg log -r 5d1ee168d3b8 abort: unknown revision '5d1ee168d3b8'! *** This bug has been marked as a duplicate of bug 209605 ***