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 118875 - Line disappears when it is move to guarded block
Summary: Line disappears when it is move to guarded block
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-15 11:51 UTC by Jiri Prox
Modified: 2012-05-17 10:33 UTC (History)
1 user (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 Jiri Prox 2007-10-15 11:51:15 UTC
Product Version: NetBeans IDE Dev (Build 20071015000502)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b01
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

Line is lost when it is move to the guarded block. 

Steps to reproduce:
1) create new JFrame Form
2) put caret on some line below garded block
3) use alt-shift-UP to move line upwards
-> the line disappears when it is move to guarded block
-> when moving from upwards all is ok and the action is blocked
Comment 1 Vitezslav Stejskal 2007-10-16 08:33:55 UTC
Reproducible in a dev build. If the guarded section is only one line high both alt-shift-up and alt-shift-down move the
line across the guarded line. IMO the functionality should be the same for longer guarded sections, ie move the line
above or below the guarded section.
Comment 2 Jiri Prox 2008-04-11 00:42:56 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Quality Engineering 2009-12-21 06:25:07 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team
Comment 4 MackSix 2012-05-09 09:47:03 UTC
Still valid in:

Product Version: NetBeans IDE Dev (Build 201205070400)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 5 Milutin Kristofic 2012-05-09 10:55:28 UTC
http://hg.netbeans.org/jet-main/rev/c6e94f5ad376
Comment 6 Quality Engineering 2012-05-10 10:00:20 UTC
Integrated into 'main-golden', will be available in build *201205100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c6e94f5ad376
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #118875 - Line disappears when it is move to guarded block