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 186919 - [69cat] XML: Tag Locking Mechanism
Summary: [69cat] XML: Tag Locking Mechanism
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 19:58 UTC by gliesian
Modified: 2012-12-06 15:49 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-05-28 19:58:06 UTC
Provides a mechanism to lock XML tags.

Case Study:

XML Copy Editor's (http://xml-copy-editor.sourceforge.net/) help:

Tag locking
You can enable/disable tag locking by selecting ‘Lock tags’ from the XML menu or by pressing F8.

When active, tag locking blocks access to tags and attributes while facilitating cursor navigation (the cursor will skip tags and entity references) and translating literal ‘&’, ‘<’ and ‘>’ to the relevant XML entity references.

The aim is to prevent inadvertent changes to the document structure while preserving the user’s freedom to enter, delete, select, cut, copy and paste text.

You may wish to choose a color scheme that supports tag locking by de-emphasizing tags.
Comment 1 Marian Mirilovic 2010-05-31 08:34:13 UTC
gliesian: thanks for your reports, but could you please report XML issues against "xml" product :
https://netbeans.org/bugzilla/enter_bug.cgi?product=xml&version=6.9
Thanks in advance.
Comment 2 gliesian 2010-06-02 16:56:24 UTC
Related: Also considering adding a "Lock Tags" icon in the XML editor's toolbar.

thx.
Comment 3 gliesian 2012-07-19 14:47:16 UTC
Any plans on this issue?
Comment 4 Svata Dedic 2012-12-06 15:49:57 UTC
Please try to better explain the function of such lock. Does that mean that all tags are locked, so the user can only change the text content in between them ? 

Attribute values are also locked (the description says "will skip tags") and skipped ?

Processing instructions are also locked ?