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 257917 - Alllow to mark part of text as guarded
Summary: Alllow to mark part of text as guarded
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2016-02-10 09:29 UTC by Svata Dedic
Modified: 2016-02-23 02:39 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Proposed changes (5.84 KB, patch)
2016-02-10 09:29 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2016-02-10 09:29:24 UTC
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.
Comment 1 Svata Dedic 2016-02-10 09:30:29 UTC
Please review.
Comment 2 Svata Dedic 2016-02-22 09:53:00 UTC
Implemented as jet-main#1586e6b2a02e
Comment 3 Quality Engineering 2016-02-23 02:39:13 UTC
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