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.
Created attachment 158446 [details] Proposed changes The current Guarded Blocks API allows to create an empty guarded section and then fill it with text. This proposal adds API method to mark range of text as guarded and turn it into a GuardedSection.
Please review.
Implemented as jet-main#1586e6b2a02e
Integrated into 'main-silver', will be available in build *201602230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1586e6b2a02e User: Svata Dedic <sdedic@netbeans.org> Log: #257917: API to protect an existing text with guarded block