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.
Product Version: NetBeans IDE Dev (Build 200809021401) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Moving code (Shift+Alt+Up/Down) behaves strangely in interaction with guarded blocks 0. Create Java Application with a JFrame form 1. Select some guarded text (event handler) and press Shift+Alt+Up (move selection up) -> nothing happens 2. Select some guarded text and press Shift+Alt+Down (move selection down) -> selection is copied bellow the original selected text in GB 3. Select some block of normal code that is above some guarded section (main method + Variables declarations) and press Shift+Alt+Down several times -> Code movement is stopped by the guarded blocks 4. Select some block of normal code that is bellow some guarded section (type something bellow Variables declarations) and press Shift+Alt+Up several times -> Code is lost when it reaches guarded section (Maybe a P4 because it is not a common use case? I find problematic mainly step 4...)
the step 4. is duplicate of issue 118875
OK, therefore only step 2 is a problem (steps 1 and 3 are just to demonstrate difference between moving code up and down). Thanks Jirka.
Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next".
NetBeans.org Migration: changing resolution from LATER to WONTFIX