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 30234 - Add highlighting of open-closure blocks
Summary: Add highlighting of open-closure blocks
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 214755
Blocks: 15330
  Show dependency tree
 
Reported: 2003-01-21 03:58 UTC by derisor
Modified: 2012-09-15 00:25 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 derisor 2003-01-21 03:58:14 UTC
It would be nice if the XML editor would highlight the 
block that I am in when editing xml. The way it would work 
would be that the editor would see which tag you are in 
and then find the closing tag and then make a graphic 
bracket along the left hand side of the editor showing the 
block you are in. If it cannot find a closing tag, the 
editor bracket goes to the bottom of the page and shows up 
as red in color. 

You should be able to enable or disable this feature 
through the properties for the XML editor.
Comment 1 Jiri Kovalsky 2005-06-01 10:07:21 UTC
Please note that since yesterday this is partially fixed. Pairs matching was
integrated to trunk so that one sees where is complementary tag if cursor stands
in open/end tag.
Comment 2 Marek Fukala 2006-10-24 13:42:37 UTC
I would say that this is a problem of the editing infrastructure. There is an
API  to provide the "matching pair" in the IDE. The infrastructure can then
render the line on the left side of the editor window. Reassigning to editor.
Comment 3 Svata Dedic 2012-07-10 09:08:59 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/92ea268e26f7
Comment 4 Quality Engineering 2012-07-12 08:18:01 UTC
Integrated into 'main-golden', will be available in build *201207120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/92ea268e26f7
User: Svata Dedic <sdedic@netbeans.org>
Log: #45884, #30234: implemented outline for braces, tooltip for invisible brace 1st line