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 7430

Summary: JavaEditor does not support marking an existing portion of code as guarded.
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: Svata Dedic <sdedic>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Svata Dedic 2000-08-18 15:06:33 UTC
A module can't protect a particular method from user editing operations, because
the JavaEditor class does not publish functions for creating a new guarded
blocks over an existing text.
Guarded blocks may be created using OpenAPIs, but those are not saved along with
the source.
Comment 1 Svata Dedic 2000-08-18 15:07:59 UTC
Additional API was created in the Java module -- see Java module's webpages.
Comment 3 Quality Engineering 2003-07-01 13:15:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.